summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/unittests/Host/SymbolsTest.cpp3
-rw-r--r--lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/lldb/unittests/Host/SymbolsTest.cpp b/lldb/unittests/Host/SymbolsTest.cpp
index d3073310e3e..253ce39e31b 100644
--- a/lldb/unittests/Host/SymbolsTest.cpp
+++ b/lldb/unittests/Host/SymbolsTest.cpp
@@ -26,7 +26,8 @@ TEST(SymbolsTest,
ModuleSpec module_spec;
// using a GUID here because the symbol file shouldn't actually exist on disk
module_spec.GetSymbolFileSpec().SetFile(
- "4A524676-B24B-4F4E-968A-551D465EBAF1.so", false);
+ "4A524676-B24B-4F4E-968A-551D465EBAF1.so", false,
+ FileSpec::Style::native);
FileSpec symbol_file_spec = Symbols::LocateExecutableSymbolFile(module_spec);
EXPECT_TRUE(symbol_file_spec.GetFilename().IsEmpty());
}
diff --git a/lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp b/lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp
index 9051ddfd01a..cf8d7042cb0 100644
--- a/lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp
+++ b/lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp
@@ -72,7 +72,7 @@ TEST_F(ObjectFileELFTest, SectionsResolveConsistently) {
ASSERT_GT(size, 0u);
ModuleSpec spec{FileSpec(obj, false)};
- spec.GetSymbolFileSpec().SetFile(obj, false);
+ spec.GetSymbolFileSpec().SetFile(obj, false, FileSpec::Style::native);
auto module_sp = std::make_shared<Module>(spec);
SectionList *list = module_sp->GetSectionList();
ASSERT_NE(nullptr, list);
OpenPOWER on IntegriCloud