.bss section emitted by llvm-bolt (e.g. with instrumentation) is not a real BSS section, i.e. it takes space in the output file. Hence the order with respect to .data is not defined. Remove .bss from the test and fix the buildbot failure. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D135475
11 lines
328 B
Plaintext
11 lines
328 B
Plaintext
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
|