[PATCH] D150079: [BPF][DebugInfo] Show CO-RE relocations in llvm-objdump
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 22 23:36:21 PDT 2023
MaskRay added inline comments.
================
Comment at: llvm/include/llvm/DebugInfo/BTF/BTF.h:340
+
+struct StructType : CommonType {
+ DEFINE_TAIL_ARR(BTFMember, members)
----------------
This and Enum*Type are used in `BTFParser::symbolize`. Keeping just these classes is fine but other classes are not needed.
Note: we can also utilize `llvm/include/llvm/Support/TrailingObjects.h` to access the trailing object, instead of DEFINE_TAIL_ARR
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150079/new/
https://reviews.llvm.org/D150079
More information about the llvm-commits
mailing list