]> granicus.if.org Git - clang/commit
[Driver] Properly support -mglobal-merge using explicit options.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Sat, 11 Apr 2015 00:10:44 +0000 (00:10 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Sat, 11 Apr 2015 00:10:44 +0000 (00:10 +0000)
commit070ffd29fb0a5a558e8f9bd464f784ff24ef1a54
tree0419cba5ef7ddf10327f3e5c5b3fb354cd041811
parent3ec9ae83a9d65e1484fe33fe3a80bb3aa8c79738
[Driver] Properly support -mglobal-merge using explicit options.

Follow-up to r234666.  With this, the -m[no-]global-merge options
have the expected behavior. Previously, -mglobal-merge was ignored,
and there was no way of enabling the optimization.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234668 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/BackendUtil.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/Driver/mglobal-merge.c [new file with mode: 0644]
test/Driver/mno-global-merge.c [deleted file]