]> granicus.if.org Git - clang/commit
Move logic for passing down -mrelax-all / -relax-all into a common
authorJoerg Sonnenberger <joerg@bec.de>
Fri, 6 May 2011 14:35:16 +0000 (14:35 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Fri, 6 May 2011 14:35:16 +0000 (14:35 +0000)
commit359cf927cf4980099a04b3f3cf040b81d181fe3d
tree7e9e1f2b9b2ab2f933658c1d3f39d42e1bea4118
parent2174d4c11c1544a6729637790637b765e35b67a3
Move logic for passing down -mrelax-all / -relax-all into a common
function. Extend the logic to check if the input was compiled.
Use -relax-all as default only if -O0 is used for compilation.
Fixes bug 9290.

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