Skip to content

Commit 211edca

Browse files
[memprof] Fix a build error
1 parent 7536474 commit 211edca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Instrumentation/MemProfiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ static uint64_t computeStackId(const memprof::Frame &Frame) {
662662
// Helper to generate a single hash id for a given callstack, used for emitting
663663
// matching statistics and useful for uniquing such statistics across modules.
664664
static uint64_t
665-
computeFullStackId(const SmallVectorImpl<memprof::Frame> &CallStack) {
665+
computeFullStackId(const std::vector<memprof::Frame> &CallStack) {
666666
llvm::HashBuilder<llvm::TruncatedBLAKE3<8>, llvm::endianness::little>
667667
HashBuilder;
668668
for (auto &F : CallStack)

0 commit comments

Comments
 (0)