[test] Pre-commit llvm.experimental.memset.pattern tests prior to MemoryLocation...
[llvm-project.git] / llvm / test / DebugInfo / Symbolize / ELF / symtab-ifunc.s
blob228c4a6c1c9ef9bbe9db1c796cd0ea6ace592ed2
1 # REQUIRES: x86-registered-target
2 ## Test we can symbolize STT_GNU_IFUNC symbols.
3 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
4 # RUN: llvm-symbolizer --obj=%t 0 1
6 # CHECK: g_ifunc
7 # CHECK-NEXT: ??:0:0
8 # CHECK-EMPTY:
9 # CHECK-NEXT: l_ifunc
10 # CHECK-NEXT: ??:0:0
11 # CHECK-EMPTY:
13 ## TODO Find the preceding STT_FILE symbol as the filename of l_ifunc.
14 .file "symtab-ifunc.s"
16 .Lg_resolver:
17 ret
18 .size .Lg_resolver, 1
20 .globl g_ifunc
21 .set g_ifunc, .Lg_resolver
22 .type g_ifunc, @gnu_indirect_function
24 .Ll_resolver:
25 ret
26 .size .Ll_resolver, 1
28 .set l_ifunc, .Ll_resolver
29 .type l_ifunc, @gnu_indirect_function