[Lldb-commits] [PATCH] Handle path slashes properly, when the binary is compiled in Windows and used in Linux and vice-versa

Zachary Turner zturner at google.com
Fri Jul 25 09:07:36 PDT 2014


I don't think this works.  \ and / are only identical on Windows.  On other
platforms \ is a character that can actually appear in a string.
 Furthermore, this doesn't address the issue in FileSpec, which also has
issues dealing with Windows paths.  Incidentally, I was already working on
a patch to address exactly this.  I think the correct fix is to fix it in
FileSpec, and then update PathMappingList to use FileSpecs instead of
ConstStrings.

http://reviews.llvm.org/D4666






More information about the lldb-commits mailing list