[llvm-branch-commits] [lld] [ELF] Orphan placement: remove hasInputSections condition (PR #93761)

Fangrui Song via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jun 5 11:47:34 PDT 2024


================
@@ -16,22 +16,21 @@
 ## The output file must include all sections.
 # RUN: llvm-readelf -S %t/a.elf | FileCheck %s
 
-# CHECK:      There are 12 section headers, starting at offset 0x2140:
+# CHECK:      There are 12 section headers, starting at offset 0x2138:
 # CHECK:      [Nr] Name         Type      Address          Off    Size   ES Flg Lk Inf Al
 # CHECK-NEXT: [ 0]              NULL      0000000000000000 000000 000000 00     0  0   0
 # CHECK-NEXT: [ 1] .nonalloc    PROGBITS  0000000000000000 001064 001000 00 W   0  0   1
----------------
MaskRay wrote:

With #93761 , this patch will not need to modify this test file, but GitHub PR doesn't seem to make it clear.

https://github.com/llvm/llvm-project/pull/93761


More information about the llvm-branch-commits mailing list