[PATCH] D81585: [AIX][XCOFF][Patch1] Provide decoding trace back table information API for xcoff object file for llvm-objdump -d
Digger via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 07:57:10 PDT 2020
DiggerLin marked 2 inline comments as done.
DiggerLin added inline comments.
================
Comment at: llvm/unittests/Object/XCOFFObjectFileTest.cpp:142
+ EXPECT_EQ(Disp[1], 0x06060000u);
+}
----------------
jhenderson wrote:
> jhenderson wrote:
> > You need testing for what happens when the table is truncated/malformed in such a way that the parsing fails. Currently, you do not test the failures. I think you'll need a test case for each point where the reading might fail if the size were too small.
> This hasn't been addressed?
added a new test case for it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81585/new/
https://reviews.llvm.org/D81585
More information about the llvm-commits
mailing list