We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__real_
1 parent 7518210 commit 8725a49Copy full SHA for 8725a49
lld/test/ELF/wrap-plt.s
@@ -11,13 +11,15 @@
11
// CHECK: Relocations [
12
// CHECK-NEXT: Section ({{.*}}) .rela.plt {
13
// CHECK-NEXT: R_X86_64_JUMP_SLOT __wrap_foo 0x0
14
+// CHECK-NEXT: R_X86_64_JUMP_SLOT foo 0x0
15
// CHECK-NEXT: R_X86_64_JUMP_SLOT _start 0x0
16
// CHECK-NEXT: }
17
// CHECK-NEXT: ]
18
19
// DISASM: <_start>:
20
// DISASM-NEXT: jmp {{.*}} <__wrap_foo@plt>
21
22
+// DISASM-NEXT: jmp {{.*}} <foo@plt>
23
// DISASM-NEXT: jmp {{.*}} <_start@plt>
24
25
.global foo
@@ -32,4 +34,5 @@ __wrap_foo:
32
34
_start:
33
35
jmp foo@plt
36
jmp __wrap_foo@plt
37
+ jmp __real_foo@plt
38
jmp _start@plt
0 commit comments