Hi,

Filename appending in CGDebugInfo.cpp was implemented as simple string
concatenation, resulting in duplicate file debug information on Windows due
to wrong path separator.

The patch uses  llvm::sys::path::append to properly append the filename on
all OS.

Is there a way to use path::append without the SmallString temporary?

Yaron

Attachment: clang-gdebuginfo.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to