[PATCH] D156797: [llvm-readobj] [Object] [NFC] Introduce inline helpers for chpe_range_entry.
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 11:27:38 PDT 2023
jhenderson added inline comments.
================
Comment at: llvm/include/llvm/Object/COFF.h:757-758
+
+ uint32_t getStart() const { return StartOffset & ~TypeMask; }
+ uint16_t getType() const { return StartOffset & TypeMask; }
+};
----------------
Possibly worth a unittest for each of these in ObjectTests?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156797/new/
https://reviews.llvm.org/D156797
More information about the llvm-commits
mailing list