diff options
author | Pavel Labath <pavel@labath.sk> | 2019-07-26 07:03:28 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-07-26 07:03:28 +0000 |
commit | 84a6856928a27afb463f7ba70dc807dbafc83747 (patch) | |
tree | e789e1ef8d5190be227cc86939b071a0740905ab /lldb/unittests/Core/MangledTest.cpp | |
parent | 3c3a76527e4e7a52eee68bb16e1c3a56c55e7eff (diff) | |
download | bcm5719-llvm-84a6856928a27afb463f7ba70dc807dbafc83747.tar.gz bcm5719-llvm-84a6856928a27afb463f7ba70dc807dbafc83747.zip |
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
Diffstat (limited to 'lldb/unittests/Core/MangledTest.cpp')
-rw-r--r-- | lldb/unittests/Core/MangledTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/unittests/Core/MangledTest.cpp b/lldb/unittests/Core/MangledTest.cpp index 85d2723010d..94fee105e9b 100644 --- a/lldb/unittests/Core/MangledTest.cpp +++ b/lldb/unittests/Core/MangledTest.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "Plugins/ObjectFile/ELF/ObjectFileELF.h" -#include "Plugins/SymbolVendor/ELF/SymbolVendorELF.h" +#include "Plugins/SymbolFile/Symtab/SymbolFileSymtab.h" #include "TestingSupport/TestUtilities.h" #include "lldb/Core/Mangled.h" @@ -54,7 +54,7 @@ TEST(MangledTest, NameIndexes_FindFunctionSymbols) { FileSystem::Initialize(); HostInfo::Initialize(); ObjectFileELF::Initialize(); - SymbolVendorELF::Initialize(); + SymbolFileSymtab::Initialize(); llvm::SmallString<128> Obj; ASSERT_NO_ERROR(llvm::sys::fs::createTemporaryFile( @@ -146,7 +146,7 @@ TEST(MangledTest, NameIndexes_FindFunctionSymbols) { EXPECT_EQ(0, Count("undemangable", eFunctionNameTypeBase)); EXPECT_EQ(0, Count("undemangable", eFunctionNameTypeMethod)); - SymbolVendorELF::Terminate(); + SymbolFileSymtab::Terminate(); ObjectFileELF::Terminate(); HostInfo::Terminate(); FileSystem::Terminate(); |