From 84a6856928a27afb463f7ba70dc807dbafc83747 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Fri, 26 Jul 2019 07:03:28 +0000 Subject: 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 --- lldb/unittests/Core/MangledTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lldb/unittests/Core/MangledTest.cpp') 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(); -- cgit v1.2.3