[all-commits] [llvm/llvm-project] b5abae: [yaml2obj][XOFF] Update yaml2obj for XCOFF to crea...
stephenpeckham via All-commits
all-commits at lists.llvm.org
Fri Feb 9 06:20:33 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b5abaea3c0de605c8145035b21a5ee492883ebd7
https://github.com/llvm/llvm-project/commit/b5abaea3c0de605c8145035b21a5ee492883ebd7
Author: stephenpeckham <118857872+stephenpeckham at users.noreply.github.com>
Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths:
M llvm/lib/ObjectYAML/XCOFFEmitter.cpp
M llvm/test/tools/llvm-objcopy/XCOFF/invalid-read.test
M llvm/test/tools/llvm-objdump/XCOFF/disassemble-traceback-table.test
M llvm/test/tools/llvm-objdump/XCOFF/section-headers.test
M llvm/test/tools/llvm-readobj/XCOFF/file-header.test
M llvm/test/tools/llvm-readobj/XCOFF/sections.test
M llvm/test/tools/obj2yaml/XCOFF/aix.yaml
M llvm/test/tools/obj2yaml/XCOFF/invalid-section.yaml
M llvm/test/tools/yaml2obj/XCOFF/aux-hdr-defaults.yaml
M llvm/test/tools/yaml2obj/XCOFF/basic-doc.yaml
A llvm/test/tools/yaml2obj/XCOFF/offset-check.yaml
Log Message:
-----------
[yaml2obj][XOFF] Update yaml2obj for XCOFF to create valid XCOFF files in more cases. (#77620)
yaml2obj creates invalid object files even when the input was created by
obj2yaml using a valid object file. On the other hand, yaml2obj is used
to intentionally create invalid object files for testing purposes.
This update balances using specified input values when provided and
computing file offsets and sizes if necessary.
More information about the All-commits
mailing list