Lang Hames 8ad75c1037 [JITLink][X86] Rename X86 test directory to x86-64, update test names.
Tests in test/ExecutionEngine/JITLink/X86 were for x86-64 only (never i386) so
it makes sense to name the test directory x86-64, and drop x86-64 from the
individual test names.
2023-04-15 18:39:12 +00:00

28 lines
380 B
ArmAsm

// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
// RUN: llvm-jitlink -noexec %t
.section .foo,"axG",@progbits,g1,comdat
.globl g1
g1:
call test1
retq
.section .baz,"axG",@progbits,g1,comdat
test1:
retq
.section .bar,"axG",@progbits,g2,comdat
.globl g2
g2:
call test2
retq
.section .baz,"axG",@progbits,g2,comdat
test2:
retq
.text
.globl main
main:
retq