diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-11-17 07:19:44 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-11-17 07:19:44 +0000 |
commit | f1e430fe18c2d7e3fb75d267b61841acf27abe7a (patch) | |
tree | 705fe6137cf66a1241abc7e5988d8822469c5422 /unittests | |
parent | 3ba7ee4ea57d8004c1937e7ee069f09fe62af8ad (diff) | |
download | lld-f1e430fe18c2d7e3fb75d267b61841acf27abe7a.tar.gz |
Make ELF2 the default.
With this the only way to get the old elf linker is "-flavor old-elf".
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@253318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/DriverTests/UniversalDriverTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/DriverTests/UniversalDriverTest.cpp b/unittests/DriverTests/UniversalDriverTest.cpp index fee1bbb6b..0a464d303 100644 --- a/unittests/DriverTests/UniversalDriverTest.cpp +++ b/unittests/DriverTests/UniversalDriverTest.cpp @@ -21,7 +21,7 @@ using namespace llvm; using namespace lld; TEST(UniversalDriver, flavor) { - const char *args[] = {"old-ld"}; + const char *args[] = {"ld", "-flavor", "old-gnu"}; std::string diags; raw_string_ostream os(diags); |