diff options
author | Renato Golin <renato.golin@linaro.org> | 2014-01-29 11:50:56 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2014-01-29 11:50:56 +0000 |
commit | 8cea6e8fc6a0cc1b5f1f4cbe9fb9f97983e531cc (patch) | |
tree | c8427457319e6ae166c91b9c24d9cec14e96d335 /llvm/test/CodeGen/ARM/ehabi-unwind.ll | |
parent | 336d97146a047a9425bcad4858347baff9e223c5 (diff) | |
download | bcm5719-llvm-8cea6e8fc6a0cc1b5f1f4cbe9fb9f97983e531cc.tar.gz bcm5719-llvm-8cea6e8fc6a0cc1b5f1f4cbe9fb9f97983e531cc.zip |
Enable EHABI by default
After all hard work to implement the EHABI and with the test-suite
passing, it's time to turn it on by default and allow users to
disable it as a work-around while we fix the eventual bugs that show
up.
This commit also remove the -arm-enable-ehabi-descriptors, since we
want the tables to be printed every time the EHABI is turned on
for non-Darwin ARM targets.
Although MCJIT EHABI is not working yet (needs linking with the right
libraries), this commit also fixes some relocations on MCJIT regarding
the EH tables/lib calls, and update some tests to avoid using EH tables
when none are needed.
The EH tests in the test-suite that were previously disabled on ARM
now pass with these changes, so a follow-up commit on the test-suite
will re-enable them.
llvm-svn: 200388
Diffstat (limited to 'llvm/test/CodeGen/ARM/ehabi-unwind.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/ehabi-unwind.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/ehabi-unwind.ll b/llvm/test/CodeGen/ARM/ehabi-unwind.ll index fd7d0e63f3b..a86f340d74e 100644 --- a/llvm/test/CodeGen/ARM/ehabi-unwind.ll +++ b/llvm/test/CodeGen/ARM/ehabi-unwind.ll @@ -1,8 +1,7 @@ ; Test that the EHABI unwind instruction generator does not encounter any ; unfamiliar instructions. -; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -disable-fp-elim -; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -arm-enable-ehabi-descriptors +; RUN: llc < %s -mtriple=thumbv7 -disable-fp-elim +; RUN: llc < %s -mtriple=thumbv7 define void @_Z1fv() nounwind { entry: |