xref: /llvm-project/bolt/test/runtime/X86/section-order.test (revision 0044647fdcbba841bd166babe71c541e9d77d8ee)
1REQUIRES: system-linux,bolt-runtime
2
3RUN: %clang %p/Inputs/basic-instrumentation.s -Wl,-q -o %t.exe
4RUN: llvm-bolt %t.exe -o %t --instrument
5RUN: llvm-readelf --section-headers %t | FileCheck %s
6
7## Verify that llvm-bolt outputs new sections in expected order.
8CHECK: .text.bolt.extra.1
9CHECK: .rodata.bolt.extra.1
10CHECK: .data.bolt.extra.1
11