[PATCH] D67506: GSYM: add encoding and decoding to FunctionInfo
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 18:22:53 PDT 2019
MaskRay added inline comments.
================
Comment at: lib/DebugInfo/GSYM/FunctionInfo.cpp:20
+/// that is associated with a FunctionInfo object.
+enum InfoType {
+ EndOfList = 0u,
----------------
If you want to ensure the underlying type is `uint32_t`, use
`enum InfoType : uint32_t`
instead of `0u` `1u` `2u`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67506/new/
https://reviews.llvm.org/D67506
More information about the llvm-commits
mailing list