[Lldb-commits] [PATCH] D18689: Make FileSpec handling platform-independent

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 1 04:21:27 PDT 2016

labath created this revision.
labath added a reviewer: zturner.
labath added a subscriber: lldb-commits.

Even though FileSpec attempted to handle both kinds of path syntaxes (posix and windows) on both
platforms, it relied on the llvm path library to do its work, whose behavior differed on
different platforms. This led to subtle differences in FileSpec behavior between platforms. This
replaces the pieces of the llvm library with our own implementations. The functions are simply
copied from llvm, with #ifdefs replaced by runtime checks for ePathSyntaxWindows.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18689.52348.patch
Type: text/x-patch
Size: 11080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160401/815bb717/attachment-0001.bin>

More information about the lldb-commits mailing list