[llvm-branch-commits] [MC][NFC] Use vector for GUIDProbeFunctionMap (PR #102905)
Lei Wang via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Aug 15 23:56:24 PDT 2024
================
@@ -390,32 +390,41 @@ bool MCPseudoProbeDecoder::buildGUID2FuncDescMap(const uint8_t *Start,
Data = Start;
End = Data + Size;
+ uint32_t FuncDescCount = 0;
while (Data < End) {
- auto ErrorOrGUID = readUnencodedNumber<uint64_t>();
- if (!ErrorOrGUID)
+ if (!readUnencodedNumber<uint64_t>())
----------------
wlei-llvm wrote:
nit: comment the decoded field(and the one below)
https://github.com/llvm/llvm-project/pull/102905
More information about the llvm-branch-commits
mailing list