SymbolVendor: Move Symtab construction into the SymbolFile
authorPavel Labath <pavel@labath.sk>
Fri, 26 Jul 2019 07:03:28 +0000 (07:03 +0000)
committerPavel Labath <pavel@labath.sk>
Fri, 26 Jul 2019 07:03:28 +0000 (07:03 +0000)
commit84a6856928a27afb463f7ba70dc807dbafc83747
treee789e1ef8d5190be227cc86939b071a0740905ab
parent3c3a76527e4e7a52eee68bb16e1c3a56c55e7eff
SymbolVendor: Move Symtab construction into the SymbolFile

Summary:
Instead of having SymbolVendor coordinate Symtab construction between
Symbol and Object files, make the SymbolVendor function a passthrough,
and put all of the logic into the SymbolFile.

Reviewers: clayborg, JDevlieghere, jingham, espindola

Subscribers: emaste, mgorny, arichardson, MaskRay, lldb-commits

Differential Revision: https://reviews.llvm.org/D65208

llvm-svn: 367086
12 files changed:
lldb/include/lldb/Symbol/SymbolFile.h
lldb/include/lldb/Symbol/SymbolVendor.h
lldb/source/Symbol/SymbolFile.cpp
lldb/source/Symbol/SymbolVendor.cpp
lldb/unittests/Core/CMakeLists.txt
lldb/unittests/Core/MangledTest.cpp
lldb/unittests/ObjectFile/ELF/CMakeLists.txt
lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp
lldb/unittests/Symbol/CMakeLists.txt
lldb/unittests/Symbol/TestDWARFCallFrameInfo.cpp
lldb/unittests/Target/CMakeLists.txt
lldb/unittests/Target/ModuleCacheTest.cpp