[PATCH] fix for CGDebugInfo.cpp filename append

Yaron Keren yaron.keren at gmail.com
Thu Oct 17 08:09:36 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131017/8d853a00/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-gdebuginfo.diff
Type: application/octet-stream
Size: 954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131017/8d853a00/attachment.obj>


More information about the cfe-commits mailing list