[BOLT] Fix program-header.test
This commit is contained in:
@@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
REQUIRES: system-linux
|
REQUIRES: system-linux
|
||||||
|
|
||||||
RUN: %clang %cflags %p/Inputs/hello.c -o %t -no-pie -Wl,-q
|
RUN: %clang %cflags %p/Inputs/hello.c -o %t -no-pie -Wl,-q -nostartfiles \
|
||||||
|
RUN: -nostdlib -ffreestanding
|
||||||
RUN: llvm-bolt %t -o %t.bolt --use-old-text --align-functions=1 \
|
RUN: llvm-bolt %t -o %t.bolt --use-old-text --align-functions=1 \
|
||||||
RUN: --no-huge-pages --align-text=1 --use-gnu-stack \
|
RUN: --no-huge-pages --align-text=1 --use-gnu-stack \
|
||||||
RUN: | FileCheck %s --check-prefix=CHECK-BOLT
|
RUN: | FileCheck %s --check-prefix=CHECK-BOLT
|
||||||
RUN: llvm-readelf -WS %t.bolt | FileCheck %s
|
RUN: llvm-readelf -WS %t.bolt | FileCheck %s
|
||||||
|
|
||||||
CHECK-BOLT: rewriting .eh_frame_hdr in-place
|
|
||||||
CHECK-BOLT: not adding new segments
|
CHECK-BOLT: not adding new segments
|
||||||
|
|
||||||
CHECK-NOT: .bolt.org.eh_frame_hdr
|
CHECK-NOT: .bolt.org.eh_frame_hdr
|
||||||
|
|||||||
Reference in New Issue
Block a user