diff options
author | Rui Ueyama <ruiu@google.com> | 2016-05-02 19:30:42 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-05-02 19:30:42 +0000 |
commit | 4f8d21f3874064bed5fabb0ebecf57b33489aad6 (patch) | |
tree | 2618ce2f0008d767ca9eadd8687fae50f862f787 /lld/ELF/Driver.cpp | |
parent | c090b04045a0e080ed9bbab08581d5a1b6c21acc (diff) | |
download | bcm5719-llvm-4f8d21f3874064bed5fabb0ebecf57b33489aad6.tar.gz bcm5719-llvm-4f8d21f3874064bed5fabb0ebecf57b33489aad6.zip |
Do not pass Symtab to markLive/doICF since Symtab is globally accessible.
llvm-svn: 268286
Diffstat (limited to 'lld/ELF/Driver.cpp')
-rw-r--r-- | lld/ELF/Driver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index cc7855292f7..b8882c24aa8 100644 --- a/lld/ELF/Driver.cpp +++ b/lld/ELF/Driver.cpp @@ -489,8 +489,8 @@ template <class ELFT> void LinkerDriver::link(opt::InputArgList &Args) { // Write the result to the file. if (Config->GcSections) - markLive<ELFT>(&Symtab); + markLive<ELFT>(); if (Config->ICF) - doIcf<ELFT>(&Symtab); + doIcf<ELFT>(); writeResult<ELFT>(&Symtab); } |