brintos

brintos / llvm-project-archived public Read only

0
0
Text · 493 B · 3be287a Raw
20 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3// RUN: ld.lld --eh-frame-hdr %t.o -o %t4// RUN: llvm-readobj -S -l %t | FileCheck %s --check-prefix=NOHDR5 6.section foo,"ax",@progbits7 nop8 9.text10.globl _start11_start:12 13// There is no .eh_frame section,14// therefore .eh_frame_hdr also not created.15// NOHDR:       Sections [16// NOHDR-NOT:    Name: .eh_frame17// NOHDR-NOT:    Name: .eh_frame_hdr18// NOHDR:      ProgramHeaders [19// NOHDR-NOT:   PT_GNU_EH_FRAME20