summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2018-06-01 21:51:21 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2018-06-01 21:51:21 +0000
commit7234acf5bb206d18b7990e79516620c83076f666 (patch)
treeab12d7b3682be3577cc7309003fe77957074ed00 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
parent92675dff00ad8369b9482711562d2a4d6cc9c784 (diff)
downloadbcm5719-llvm-7234acf5bb206d18b7990e79516620c83076f666.tar.gz
bcm5719-llvm-7234acf5bb206d18b7990e79516620c83076f666.zip
ELF: Ignore argument after --plugin.
Clang passes --plugin /path/to/LLVMgold.so to the linker when -flto is passed. After r333607 we only ignore --plugin as a joined argument, which means that the following argument (/path/to/LLVMgold.so) is interpreted as an input file. This means that either every LTO'd program ends up being linked with the gold plugin or we error out if the plugin does not exist. The fix is to use Eq to ignore both --plugin=foo and --plugin foo as before. Differential Revision: https://reviews.llvm.org/D47657 llvm-svn: 333793
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud