[llvm] [yaml2obj][XOFF] Update yaml2obj for XCOFF to create valid XCOFF files in more cases. (PR #77620)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 00:47:47 PST 2024
================
@@ -506,7 +563,7 @@ bool XCOFFWriter::writeRelocations() {
int64_t PaddingSize =
InitSections[I].FileOffsetToRelocations - (W.OS.tell() - StartOffset);
if (PaddingSize < 0) {
- ErrHandler("redundant data was written before relocations");
+ ErrHandler("unexpected data was written before relocations");
----------------
jh7370 wrote:
Test case?
https://github.com/llvm/llvm-project/pull/77620
More information about the llvm-commits
mailing list