[PATCH] D81585: [AIX][XCOFF][Patch1] Provide decoding trace back table information API for xcoff object file for llvm-objdump -d
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 15:25:12 PDT 2020
hubert.reinterpretcast added inline comments.
================
Comment at: llvm/lib/Object/XCOFFObjectFile.cpp:849
+static SmallString<32> parseParaType(uint32_t Value, unsigned ParaNum) {
+ SmallString<32> ParaType;
+ for (unsigned I = 0; I < ParaNum; ++I) {
----------------
jasonliu wrote:
> Why always 32? As I mentioned in the other comment, ParaNum have implication for how large your SmallString could be.
The template argument needs to be a compile time constant.
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