18 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3 4// RUN: ld.lld -o %t.exe %t.o -wrap=_start5// RUN: llvm-readobj --symbols -h %t.exe | FileCheck %s6 7/// Note, ld.bfd uses _start as the _entry.8 9// CHECK: Entry: [[ADDR:[0-9A-F]+]]10// CHECK: Name: __wrap__start11// CHECK-NEXT: Value: [[ADDR]]12 13.global _start, __wrap__start14_start:15 nop16__wrap__start:17 nop18