diff options
| author | Joerg Sonnenberger <joerg@bec.de> | 2013-09-08 13:30:14 +0000 |
|---|---|---|
| committer | Joerg Sonnenberger <joerg@bec.de> | 2013-09-08 13:30:14 +0000 |
| commit | bd25241e0e4887978557db7e67524408c16d8fe3 (patch) | |
| tree | c85b5f5bcde17d8128d5ac7a419f6933fe1aec73 /lld/unittests/DriverTests/DarwinLdDriverTest.cpp | |
| parent | 071cc9e89d6a129a28a6ef206e06f4c3e48ef187 (diff) | |
| download | bcm5719-llvm-bd25241e0e4887978557db7e67524408c16d8fe3.tar.gz bcm5719-llvm-bd25241e0e4887978557db7e67524408c16d8fe3.zip | |
Drop the context forceLoadAllArchives() support. Rename the isForceLoad
attribute in LinkerInput to isWholeArchive and use that for deciding
whether library archives should be expanded. Implement the -all_load
option of the Darwin linker using this flag and drop the support for it
in GNU mode.
llvm-svn: 190275
Diffstat (limited to 'lld/unittests/DriverTests/DarwinLdDriverTest.cpp')
| -rw-r--r-- | lld/unittests/DriverTests/DarwinLdDriverTest.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lld/unittests/DriverTests/DarwinLdDriverTest.cpp b/lld/unittests/DriverTests/DarwinLdDriverTest.cpp index 2fb4df3612f..70dcba1756a 100644 --- a/lld/unittests/DriverTests/DarwinLdDriverTest.cpp +++ b/lld/unittests/DriverTests/DarwinLdDriverTest.cpp @@ -92,16 +92,6 @@ TEST_F(DarwinLdParserTest, DeadStripRootsDylib) { EXPECT_TRUE(_context.globalsAreDeadStripRoots()); } -TEST_F(DarwinLdParserTest, ForceLoadArchive) { - EXPECT_FALSE(parse("ld","-all_load", "foo.o", nullptr)); - EXPECT_TRUE(_context.forceLoadAllArchives()); -} - -TEST_F(DarwinLdParserTest, NoForceLoadArchive) { - EXPECT_FALSE(parse("ld", "foo.o", nullptr)); - EXPECT_FALSE(_context.forceLoadAllArchives()); -} - TEST_F(DarwinLdParserTest, Arch) { EXPECT_FALSE(parse("ld", "-arch", "x86_64", "foo.o", nullptr)); EXPECT_EQ(MachOLinkingContext::arch_x86_64, _context.arch()); |

