llvmc: Forward -march/-mcpu/-mtune to as & ld.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2010-12-15 01:22:05 +00:00
parent 87685e8e8f
commit bebea87284

View File

@ -276,6 +276,9 @@ def llvm_gcc_assembler : Tool<
(switch_on "c"), (stop_compilation), (switch_on "c"), (stop_compilation),
(not_empty "arch"), (forward "arch"), (not_empty "arch"), (forward "arch"),
(not_empty "Xassembler"), (forward "Xassembler"), (not_empty "Xassembler"), (forward "Xassembler"),
(not_empty "march"), (forward "march"),
(not_empty "mcpu"), (forward "mcpu"),
(not_empty "mtune"), (forward "mtune"),
(switch_on "m32"), (forward "m32"), (switch_on "m32"), (forward "m32"),
(switch_on "m64"), (forward "m64"), (switch_on "m64"), (forward "m64"),
(not_empty "Wa,"), (forward "Wa,"))) (not_empty "Wa,"), (forward "Wa,")))
@ -321,6 +324,9 @@ class llvm_gcc_based_linker <string cmd, dag on_empty> : Tool<
(not_empty "framework"), (forward "framework"), (not_empty "framework"), (forward "framework"),
(not_empty "weak_framework"), (forward "weak_framework"), (not_empty "weak_framework"), (forward "weak_framework"),
(not_empty "filelist"), (forward "filelist"), (not_empty "filelist"), (forward "filelist"),
(not_empty "march"), (forward "march"),
(not_empty "mcpu"), (forward "mcpu"),
(not_empty "mtune"), (forward "mtune"),
(switch_on "m32"), (forward "m32"), (switch_on "m32"), (forward "m32"),
(switch_on "m64"), (forward "m64"), (switch_on "m64"), (forward "m64"),
(not_empty "l"), (forward "l"), (not_empty "l"), (forward "l"),