summaryrefslogtreecommitdiff
path: root/bolt/test/runtime/X86/section-order.test
blob: 6eb29ecc5267c37f3874b54b97b259e035f384db (plain)
1
2
3
4
5
6
7
8
9
10
REQUIRES: system-linux

RUN: %clang %p/Inputs/basic-instrumentation.s -Wl,-q -o %t.exe
RUN: llvm-bolt %t.exe -o %t --instrument
RUN: llvm-readelf --section-headers %t | FileCheck %s

## Verify that llvm-bolt outputs new sections in expected order.
CHECK: .text.bolt.extra.1
CHECK: .rodata.bolt.extra.1
CHECK: .data.bolt.extra.1