[llvm-branch-commits] [MC][NFC] Statically allocate storage for decoded pseudo probes and function records (PR #102789)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Aug 10 21:34:10 PDT 2024


https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/102789

Use #102774 to allocate storage for decoded probes (`PseudoProbeVec`)
and function records (`InlineTreeVec`). Additionally, probes and inlined
function records are allocated contiguously, which allows to keep track
of them using `ArrayRef`s. This in turn reduces the size of
`MCDecodedPseudoProbeInlineTree`.





More information about the llvm-branch-commits mailing list