[Lldb-commits] [PATCH] D45977: Always normalize FileSpec paths.
Greg Clayton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 23 11:38:15 PDT 2018
clayborg created this revision.
clayborg added reviewers: labath, jingham, davide, pranavb.
Herald added subscribers: JDevlieghere, aprantl.
Always normalizing lldb_private::FileSpec paths will help us get a consistent results from comparisons when setting breakpoints and when looking for source files. This also removes a lot of complexity from the comparison routines. Modified the DWARF line table parser to use the normalized compile unit directory if needed.
https://reviews.llvm.org/D45977
Files:
include/lldb/Core/FileSpecList.h
include/lldb/Utility/FileSpec.h
lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme
lldb.xcodeproj/xcshareddata/xcschemes/desktop.xcscheme
lldb.xcodeproj/xcshareddata/xcschemes/lldb-gtest.xcscheme
source/Breakpoint/BreakpointResolverFileLine.cpp
source/Core/FileSpecList.cpp
source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h
source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
source/Symbol/CompileUnit.cpp
source/Symbol/Declaration.cpp
source/Utility/FileSpec.cpp
unittests/Utility/FileSpecTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45977.143605.patch
Type: text/x-patch
Size: 33296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180423/73fc910a/attachment-0001.bin>
More information about the lldb-commits
mailing list