summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Host/SymbolsTest.cpp
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/Host/SymbolsTest.cpp
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/Host/SymbolsTest.cpp')
-rw-r--r--lldb/unittests/Host/SymbolsTest.cpp3
1 files changed, 2 insertions, 1 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());
}
OpenPOWER on IntegriCloud