summaryrefslogtreecommitdiff
path: root/unittests/DriverTests/DarwinLdDriverTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/DriverTests/DarwinLdDriverTest.cpp')
-rw-r--r--unittests/DriverTests/DarwinLdDriverTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/unittests/DriverTests/DarwinLdDriverTest.cpp b/unittests/DriverTests/DarwinLdDriverTest.cpp
index 1c77a05f58567..e2809c44984d3 100644
--- a/unittests/DriverTests/DarwinLdDriverTest.cpp
+++ b/unittests/DriverTests/DarwinLdDriverTest.cpp
@@ -231,10 +231,10 @@ TEST_F(DarwinLdParserTest, deadStrippableDylibInvalidType) {
}
TEST_F(DarwinLdParserTest, llvmOptions) {
- EXPECT_TRUE(parse("ld", "-mllvm", "-debug-only", "-mllvm", "foo", "a.o",
+ EXPECT_TRUE(parse("ld", "-mllvm", "-enable-tbaa", "-mllvm", "-enable-misched", "a.o",
"-arch", "i386", nullptr));
const std::vector<const char *> &options = _ctx.llvmOptions();
EXPECT_EQ(options.size(), 2UL);
- EXPECT_EQ(strcmp(options[0],"-debug-only"), 0);
- EXPECT_EQ(strcmp(options[1],"foo"), 0);
+ EXPECT_EQ(strcmp(options[0],"-enable-tbaa"), 0);
+ EXPECT_EQ(strcmp(options[1],"-enable-misched"), 0);
}