[llvm] [llvm][yaml2obj] Modify section header overriding timing (PR #130942)
Ruoyu Qiu via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 00:27:34 PDT 2025
================
@@ -179,32 +179,3 @@ ProgramHeaders:
# RUN: FileCheck %s --check-prefix=INVALID-OFFSET
# INVALID-OFFSET: yaml2obj: error: 'Offset' for segment with index 1 must be less than or equal to the minimum file offset of all included sections (0x78)
-
-## Document that the "Offset" value is checked after the section offset is overriden using "ShOffset".
----------------
cabbaken wrote:
I missed replying to this earlier.
I have restored this test, and it now shows the opposite behavior as intended.
P.S.: I am not sure why I originally chose 0x78 as the offset—perhaps I was just following the test above.
https://github.com/llvm/llvm-project/pull/130942
More information about the llvm-commits
mailing list