Changeset View
Changeset View
Standalone View
Standalone View
bolt/test/runtime/X86/section-order.test
REQUIRES: system-linux | REQUIRES: system-linux | ||||
RUN: %clang %p/Inputs/basic-instrumentation.s -Wl,-q -o %t.exe | RUN: %clang %p/Inputs/basic-instrumentation.s -Wl,-q -o %t.exe | ||||
RUN: llvm-bolt %t.exe -o %t --instrument | RUN: llvm-bolt %t.exe -o %t --instrument | ||||
RUN: llvm-readelf --section-headers %t | FileCheck %s | RUN: llvm-readelf --section-headers %t | FileCheck %s | ||||
## Verify that llvm-bolt outputs new sections in expected order. | ## Verify that llvm-bolt outputs new sections in expected order. | ||||
CHECK: .text.bolt.extra.1 | CHECK: .text.bolt.extra.1 | ||||
CHECK: .rodata.bolt.extra.1 | CHECK: .rodata.bolt.extra.1 | ||||
CHECK: .data.bolt.extra.1 | CHECK: .data.bolt.extra.1 | ||||
CHECK: .bss.bolt.extra.1 | |||||