mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-15 21:46:53 +00:00

Under --use-old-text or --strict, we completely rewrite contents of EH frames and exception tables sections. If new contents of either section do not exceed the size of the original section, rewrite the section in-place.
9 lines
231 B
Plaintext
9 lines
231 B
Plaintext
# Check that llvm-bolt can overwrite .eh_frame section in-place.
|
|
|
|
REQUIRES: system-linux
|
|
|
|
RUN: %clang %cflags %p/Inputs/hello.c -o %t -Wl,-q
|
|
RUN: llvm-bolt %t -o %t.bolt --strict | FileCheck %s
|
|
|
|
CHECK: rewriting .eh_frame in-place
|