]> granicus.if.org Git - clang/commit
[Driver] Pass -O* to the gold plugin via -plugin-opt
authorJames Molloy <james.molloy@arm.com>
Mon, 21 Dec 2015 10:44:36 +0000 (10:44 +0000)
committerJames Molloy <james.molloy@arm.com>
Mon, 21 Dec 2015 10:44:36 +0000 (10:44 +0000)
commitc2f48873daea4175e9e6ce18a3ab4551ebff5fed
treed570b47656323bafe8280ddde25c1c966ec2e02f
parent08963306dad247adab43dec01f7c6ade71fc585b
[Driver] Pass -O* to the gold plugin via -plugin-opt

The gold plugin understands -O0..-O3, but these are not currently being passed to it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256146 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/gold-lto.c