Tag functions in asm properly.

pull/2114/head
Rico Tzschichholz 8 years ago committed by Jussi Pakkanen
parent 3ddf9bf6dd
commit ccde05f0ac
  1. 3
      test cases/common/126 llvm ir and assembly/square-arm.S
  2. 3
      test cases/common/126 llvm ir and assembly/square-x86.S
  3. 3
      test cases/common/126 llvm ir and assembly/square-x86_64.S

@ -2,6 +2,9 @@
.text
.globl SYMBOL_NAME(square_unsigned)
# ifdef __linux__
.type square_unsigned, %function
#endif
SYMBOL_NAME(square_unsigned):
mul r1, r0, r0

@ -23,6 +23,9 @@ END
.text
.globl SYMBOL_NAME(square_unsigned)
# ifdef __linux__
.type square_unsigned, %function
#endif
SYMBOL_NAME(square_unsigned):
movl 4(%esp), %eax

@ -18,6 +18,9 @@ END
.text
.globl SYMBOL_NAME(square_unsigned)
# ifdef __linux__
.type square_unsigned, %function
#endif
# if defined(_WIN32) || defined(__CYGWIN__) /* msabi */
SYMBOL_NAME(square_unsigned):

Loading…
Cancel
Save