summaryrefslogtreecommitdiff
path: root/test/ELF/wrap.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/wrap.s')
-rw-r--r--test/ELF/wrap.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ELF/wrap.s b/test/ELF/wrap.s
index 17aac2db6e182..d8d802bb8ca48 100644
--- a/test/ELF/wrap.s
+++ b/test/ELF/wrap.s
@@ -12,6 +12,14 @@
// CHECK-NEXT: movl $0x11010, %edx
// CHECK-NEXT: movl $0x11000, %edx
+// RUN: llvm-readobj -t -s %t3 | FileCheck -check-prefix=SYM %s
+// SYM: Name: __real_foo
+// SYM-NEXT: Value: 0x11000
+// SYM: Name: __wrap_foo
+// SYM-NEXT: Value: 0x11010
+// SYM: Name: foo
+// SYM-NEXT: Value: 0x11010
+
.global _start
_start:
movl $foo, %edx