[llvm] 211edca - [memprof] Fix a build error
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 7 16:40:25 PDT 2024
Author: Kazu Hirata
Date: 2024-06-07T16:40:19-07:00
New Revision: 211edca559fe5b42858583837ffc895f44c8b945
URL: https://github.com/llvm/llvm-project/commit/211edca559fe5b42858583837ffc895f44c8b945
DIFF: https://github.com/llvm/llvm-project/commit/211edca559fe5b42858583837ffc895f44c8b945.diff
LOG: [memprof] Fix a build error
Added:
Modified:
llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Instrumentation/MemProfiler.cpp b/llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
index 14d0981da501d..aac57231ba2ed 100644
--- a/llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
+++ b/llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
@@ -662,7 +662,7 @@ static uint64_t computeStackId(const memprof::Frame &Frame) {
// Helper to generate a single hash id for a given callstack, used for emitting
// matching statistics and useful for uniquing such statistics across modules.
static uint64_t
-computeFullStackId(const SmallVectorImpl<memprof::Frame> &CallStack) {
+computeFullStackId(const std::vector<memprof::Frame> &CallStack) {
llvm::HashBuilder<llvm::TruncatedBLAKE3<8>, llvm::endianness::little>
HashBuilder;
for (auto &F : CallStack)
More information about the llvm-commits
mailing list