Revert "[TargetVersion] Only enable on RISC-V and AArch64" (#117110)
[llvm-project.git] / bolt / test / eh-frame-hdr.test
blob4d718c850e2f283138b891ac4a5b887fdbfbd5d4
1 # Check that llvm-bolt overwrites .eh_frame_hdr in-place.
3 REQUIRES: system-linux
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