diff options
author | Weiming Zhao <weimingz@codeaurora.org> | 2017-03-11 19:40:24 +0000 |
---|---|---|
committer | Weiming Zhao <weimingz@codeaurora.org> | 2017-03-11 19:40:24 +0000 |
commit | e0004f921504d5e87bdba4b21367b05940820a23 (patch) | |
tree | bb752b95cb76c4c8fa80d9baaa900653ae77e938 /compiler-rt/test/builtins/Unit/clzti2_test.c | |
parent | b3f72ea7c1448550bcb5bf2f6f2c173c8c6ad740 (diff) | |
download | bcm5719-llvm-e0004f921504d5e87bdba4b21367b05940820a23.tar.gz bcm5719-llvm-e0004f921504d5e87bdba4b21367b05940820a23.zip |
[Builtin] Implement lit-test support
Summary:
This patch implements a initial support of lit test for builtins.
Unit/arm/call_apsr.S is updated to support thumb1.
It also fixes a bug in arm/aeabi_uldivmod_test.c
gcc_personality_test is XFAILED as the framework cannot handle it so far.
cpu_model_test is also XFAILED for now as it is expected to return non-zero.
Reviewers: rengolin, compnerd, jroelofs, erik.pilkington, arphaman
Reviewed By: jroelofs
Subscribers: jroelofs, aemerson, srhines, nemanjai, llvm-commits, mgorny
Differential Revision: https://reviews.llvm.org/D30802
llvm-svn: 297566
Diffstat (limited to 'compiler-rt/test/builtins/Unit/clzti2_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/clzti2_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/test/builtins/Unit/clzti2_test.c b/compiler-rt/test/builtins/Unit/clzti2_test.c index 3a2c6fabb82..157838b6bdd 100644 --- a/compiler-rt/test/builtins/Unit/clzti2_test.c +++ b/compiler-rt/test/builtins/Unit/clzti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- clzti2_test.c - Test __clzti2 -------------------------------------===// // // The LLVM Compiler Infrastructure |