Files
clang-p2996/llvm/lib/Analysis/MemoryProfileInfo.cpp
Kazu Hirata b2f3ac836a [memprof] Teach createMIBNode to take ArrayRef (NFC) (#111195)
createMIBNode does not modify MIBCallStack, so we can take ArrayRef
instead.

While I am at it, this patch changes the type of MIBPayload to
SmallVector.  We put at most three elements, so we can avoid a heap
allocation.
2024-10-04 13:56:42 -07:00

12 KiB