summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/ObjectFile
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-06-13 22:54:52 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-06-13 22:54:52 +0000
commit87fb24dd4be212e27e684fc9275cca2a05cfa8eb (patch)
tree333383dfdb7f622fd9b75c2b45d338dc24f7d604 /lldb/unittests/ObjectFile
parent4c53fffff9223dea4b99ec7c0340186b8666632a (diff)
downloadbcm5719-llvm-87fb24dd4be212e27e684fc9275cca2a05cfa8eb.tar.gz
bcm5719-llvm-87fb24dd4be212e27e684fc9275cca2a05cfa8eb.zip
[FileSpec] Make style argument mandatory for SetFile. NFC
Update SetFile uses in the unittests. llvm-svn: 334668
Diffstat (limited to 'lldb/unittests/ObjectFile')
-rw-r--r--lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp2
1 files changed, 1 insertions, 1 deletions
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