[PATCH] D63927: [Object/invalid.test] - Convert Object/corrupt.test to YAML and merge the result into invalid.test
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 05:24:07 PDT 2019
grimar added inline comments.
================
Comment at: test/Object/invalid.test:455
+## PT_DYNAMIC's p_offset field is so large that p_offset + p_filesz is larger
+## than object size. Check llvm-readobj reports it.
+
----------------
jhenderson wrote:
> than object -> than the object
>
> I think you can use the ProgramHeader Offset field here to make this with YAML. Aternatively, you could try using python's trucate() function to shorten the file?
Great, thanks!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63927/new/
https://reviews.llvm.org/D63927
More information about the llvm-commits
mailing list