We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c64c2e + 54a7d53 commit a218706Copy full SHA for a218706
bolt/test/program-header.test
@@ -2,13 +2,13 @@
2
3
REQUIRES: system-linux
4
5
-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 \
6
+RUN: -nostdlib -ffreestanding
7
RUN: llvm-bolt %t -o %t.bolt --use-old-text --align-functions=1 \
8
RUN: --no-huge-pages --align-text=1 --use-gnu-stack \
9
RUN: | FileCheck %s --check-prefix=CHECK-BOLT
10
RUN: llvm-readelf -WS %t.bolt | FileCheck %s
11
-CHECK-BOLT: rewriting .eh_frame_hdr in-place
12
CHECK-BOLT: not adding new segments
13
14
CHECK-NOT: .bolt.org.eh_frame_hdr
0 commit comments