1 # Check that llvm-bolt overwrites .eh_frame_hdr in-place.
5 RUN: %clang %cflags %p/Inputs/hello.c -o %t -Wl,-q
6 RUN: llvm-bolt %t -o %t.bolt --use-old-text \
7 RUN: | FileCheck %s --check-prefix=CHECK-BOLT
8 RUN: llvm-readelf -WS %t.bolt | FileCheck %s
10 CHECK-BOLT: rewriting .eh_frame_hdr in-place
12 CHECK-NOT: .bolt.org.eh_frame_hdr