brintos

brintos / llvm-project-archived public Read only

0
0
Text · 354 B · 4d718c8 Raw
13 lines · plain
1# Check that llvm-bolt overwrites .eh_frame_hdr in-place.2 3REQUIRES: system-linux4 5RUN: %clang %cflags %p/Inputs/hello.c -o %t -Wl,-q6RUN: llvm-bolt %t -o %t.bolt --use-old-text \7RUN:   | FileCheck %s --check-prefix=CHECK-BOLT8RUN: llvm-readelf -WS %t.bolt | FileCheck %s9 10CHECK-BOLT: rewriting .eh_frame_hdr in-place11 12CHECK-NOT: .bolt.org.eh_frame_hdr13