[PATCH] D89049: [AIX][XCOFF] print out the traceback info
Digger Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 10:54:49 PST 2022
DiggerLin added inline comments.
================
Comment at: llvm/lib/BinaryFormat/XCOFF.cpp:179-180
// Two of the bits that haven't got used in the mask.
- if (Flag & 0x06)
+ if (Flag & 0x06 || Flag == 0x0)
Res += "Unknown ";
----------------
jhenderson wrote:
> DiggerLin wrote:
> > jhenderson wrote:
> > > Is this change tightly linked to the rest of the patch, or could it be done first with an appropriate separate test case?
> > The function "getExtendedTBTableFlagString" is used the patch, but the Flag == 0x0 we do not deal with before, so add the here to deal with by the way(I think Jason asked to add here if I remember correct). If you strong suggest that I should remove it. If will remove it.
> I think it should be its own separate patch. Ideally, if you can craft a test case, it could be a prerequisite patch to this one. If not, would would be the impact of moving this into a patch that lands after this one? Would it mean some strange fields in e.g. llvm-objdump output?
I will put this one in a separate patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89049/new/
https://reviews.llvm.org/D89049
More information about the llvm-commits
mailing list