refactor readobj/XCOFFDumper.cpp with function getAlignmentLog2() , getSymbolType(), isLabel().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for doing this.
llvm/include/llvm/Object/XCOFFObjectFile.h | ||
---|---|---|
134 | Bit offsets are typically not indicated in hex. The type would be normally be unsigned or size_t. |
Comment Actions
LGTM. One optional comment from me.
llvm/include/llvm/Object/XCOFFObjectFile.h | ||
---|---|---|
134 | FWIW, I'd use size_t since sizeof(type) returns a size_t, but I don't think it matters that much. |
Bit offsets are typically not indicated in hex. The type would be normally be unsigned or size_t.