From eb0ebc367e1d9b122d189c3d08ddbaf33d6fa7ae Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Fri, 24 Apr 2015 15:45:57 +0000 Subject: 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 llvm-svn: 235722 --- compiler-rt/test/builtins/Unit/divmodsi4_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler-rt/test/builtins/Unit/divmodsi4_test.c') diff --git a/compiler-rt/test/builtins/Unit/divmodsi4_test.c b/compiler-rt/test/builtins/Unit/divmodsi4_test.c index bea31ea9a44..6fb1c985ab5 100644 --- a/compiler-rt/test/builtins/Unit/divmodsi4_test.c +++ b/compiler-rt/test/builtins/Unit/divmodsi4_test.c @@ -16,7 +16,7 @@ // Returns: a / b -extern si_int __divmodsi4(si_int a, si_int b, si_int* rem); +extern COMPILER_RT_ABI si_int __divmodsi4(si_int a, si_int b, si_int* rem); int test__divmodsi4(si_int a, si_int b, -- cgit v1.2.1