This is an unfinished patch I'm working on that Raphael may find interesting. Posting to get early feedback and to avoid stepping on each others' toes.
rdar://problem/47970144
Paths
| Differential D58090
Deserialize Clang module search path from DWARF ClosedPublic Authored by aprantl on Feb 11 2019, 5:09 PM.
Details Summary This is an unfinished patch I'm working on that Raphael may find interesting. Posting to get early feedback and to avoid stepping on each others' toes. rdar://problem/47970144
Diff Detail
Event TimelineComment Actions +1. That's a cleaner version of what I had to do in D58125, so feel free to commit when done. The code is similar enough that rebasing my patch on top shouldn't take too much time.
This revision is now accepted and ready to land.Feb 12 2019, 8:28 AM Comment Actions The change itself looks fine, just a few nits inline.
aprantl retitled this revision from [WIP] Deserialize Clang module search path from DWARF to Deserialize Clang module search path from DWARF. Comment ActionsAlmost final version. There's a silly bug that prevents the C Darwin module to be loaded now that I haven't been able to track down yet. Comment Actions I think the problem was that I had an incompletely built libcxx in my build directory. Closed by commit rLLDB353961: Deserialize Clang module search path from DWARF (authored by adrian). · Explain WhyFeb 13 2019, 10:10 AM This revision was automatically updated to reflect the committed changes. Comment Actions This looks to have broken the windows build: http://lab.llvm.org:8011/builders/lldb-x64-windows-ninja/builds/1665
Revision Contents
Diff 186691 include/lldb/Symbol/CompileUnit.h
include/lldb/Symbol/SourceModule.h
include/lldb/Symbol/SymbolFile.h
include/lldb/Symbol/SymbolVendor.h
packages/Python/lldbsuite/test/lang/cpp/modules-import/Makefile
packages/Python/lldbsuite/test/lang/cpp/modules-import/TestCXXModulesImport.py
packages/Python/lldbsuite/test/lang/cpp/modules-import/main.cpp
packages/Python/lldbsuite/test/lang/cpp/modules-import/module.modulemap
source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h
source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h
source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
source/Symbol/CompileUnit.cpp
source/Symbol/SymbolVendor.cpp
|
Should also include lldb/Utility/ConstString.h otherwise this breaks the module build.