diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-09-02 13:54:53 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-09-02 13:54:53 +0000 |
| commit | 4dd3677b5f9eaffc9f6087d989a3a73ebb395013 (patch) | |
| tree | b66b2ccadc8a4b1f78ea663aca4c2d79a82feae8 /llvm/test/CodeGen/Mips | |
| parent | 8bbb17dcc38be6436049173b6ee0bd927507e2fe (diff) | |
| download | bcm5719-llvm-4dd3677b5f9eaffc9f6087d989a3a73ebb395013.tar.gz bcm5719-llvm-4dd3677b5f9eaffc9f6087d989a3a73ebb395013.zip | |
Replace -use-init-array with -use-ctors.
We have been using .init-array for most systems for quiet some time,
but tools like llc are still defaulting to .ctors because the old
option was never changed.
This patch makes llc default to .init-array and changes the option to
be -use-ctors.
Clang is not affected by this. It has its own fancier logic.
llvm-svn: 216905
Diffstat (limited to 'llvm/test/CodeGen/Mips')
| -rw-r--r-- | llvm/test/CodeGen/Mips/init-array.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Mips/init-array.ll b/llvm/test/CodeGen/Mips/init-array.ll index f96ce264728..1ca182dae7a 100644 --- a/llvm/test/CodeGen/Mips/init-array.ll +++ b/llvm/test/CodeGen/Mips/init-array.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple mipsel-unknown-linux -use-init-array < %s | FileCheck %s +; RUN: llc -mtriple mipsel-unknown-linux < %s | FileCheck %s target triple = "mipsel-unknown-linux" |

