[PATCH] D135475: [BOLT][TEST] Fix section order test

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 11:59:49 PDT 2022


maksfb created this revision.
maksfb added reviewers: yota9, Amir, ayermolo, rafauler.
Herald added a subscriber: treapster.
Herald added a project: All.
maksfb requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

.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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135475

Files:
  bolt/test/runtime/X86/section-order.test


Index: bolt/test/runtime/X86/section-order.test
===================================================================
--- bolt/test/runtime/X86/section-order.test
+++ bolt/test/runtime/X86/section-order.test
@@ -8,5 +8,3 @@
 CHECK: .text.bolt.extra.1
 CHECK: .rodata.bolt.extra.1
 CHECK: .data.bolt.extra.1
-CHECK: .bss.bolt.extra.1
-


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135475.466143.patch
Type: text/x-patch
Size: 333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221007/1eaf05ed/attachment.bin>


More information about the llvm-commits mailing list