diff options
author | Derek Schuff <dschuff@google.com> | 2015-04-24 15:45:57 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2015-04-24 15:45:57 +0000 |
commit | c25051bac6276ec74bbc62b934b71c78da7aa041 (patch) | |
tree | a1225e068c9754cce71acf94d7f76ddd0042446d /test/builtins/Unit/floatuntixf_test.c | |
parent | 5e4cbf9d604ff7d0e270ecbb11484504f36a7c90 (diff) | |
download | compiler-rt-c25051bac6276ec74bbc62b934b71c78da7aa041.tar.gz |
Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests
Summary:
This makes their local declarations match their definitions for ARM targets,
where they have a different calling convention.
This really only affects functions that use floating point types (since the
runtime functions use soft-float, and some targets may default to hard-float)
but it seemed good to make it uniform and do the int-only ones too.
Differential Revision: http://reviews.llvm.org/D9062
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@235722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/builtins/Unit/floatuntixf_test.c')
-rw-r--r-- | test/builtins/Unit/floatuntixf_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/builtins/Unit/floatuntixf_test.c b/test/builtins/Unit/floatuntixf_test.c index 9c3434fdd..c58b55d3e 100644 --- a/test/builtins/Unit/floatuntixf_test.c +++ b/test/builtins/Unit/floatuntixf_test.c @@ -25,7 +25,7 @@ // gggg gggg gggg gggg gggg gggg gggg gggg | gggg gggg gggg gggg seee eeee eeee eeee | // 1mmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm -long double __floatuntixf(tu_int a); +COMPILER_RT_ABI long double __floatuntixf(tu_int a); int test__floatuntixf(tu_int a, long double expected) { |