aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Panchenko <maks@fb.com>2022-10-07 11:55:30 -0700
committerMaksim Panchenko <maks@fb.com>2022-10-07 14:38:49 -0700
commit978f11c8e8daea581252a08280e6964fb62d016c (patch)
treebf7e0ecb5707ebdf93bf11e8ce679c9ad5ec1dd0
parentc585a44651f485c1a10fefdc6625ad998c05c61c (diff)
downloadllvm-978f11c8e8daea581252a08280e6964fb62d016c.zip
llvm-978f11c8e8daea581252a08280e6964fb62d016c.tar.gz
llvm-978f11c8e8daea581252a08280e6964fb62d016c.tar.bz2
[BOLT][TEST] Fix section order test
.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
-rw-r--r--bolt/test/runtime/X86/section-order.test2
1 files changed, 0 insertions, 2 deletions
diff --git a/bolt/test/runtime/X86/section-order.test b/bolt/test/runtime/X86/section-order.test
index 842d86c..6eb29ec 100644
--- a/bolt/test/runtime/X86/section-order.test
+++ b/bolt/test/runtime/X86/section-order.test
@@ -8,5 +8,3 @@ RUN: llvm-readelf --section-headers %t | FileCheck %s
CHECK: .text.bolt.extra.1
CHECK: .rodata.bolt.extra.1
CHECK: .data.bolt.extra.1
-CHECK: .bss.bolt.extra.1
-