[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / wrap-entry.s
blob8102bea75510670d1b2f7bc8a8a53f2c8416c247
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4 // RUN: ld.lld -o %t.exe %t.o -wrap=_start
5 // RUN: llvm-readobj --symbols -h %t.exe | FileCheck %s
7 /// Note, ld.bfd uses _start as the _entry.
9 // CHECK: Entry: [[ADDR:[0-9A-F]+]]
10 // CHECK: Name: __wrap__start
11 // CHECK-NEXT: Value: [[ADDR]]
13 .global _start, __wrap__start
14 _start:
15 nop
16 __wrap__start:
17 nop