Skip to content

Commit fda60eb

Browse files
committed
Fix type of VAArgOverflowSizeTLS
1 parent 7b03354 commit fda60eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5706,7 +5706,7 @@ struct VarArgPowerPCHelper : public VarArgHelperBase {
57065706
assert(!VAArgSize && !VAArgTLSCopy &&
57075707
"finalizeInstrumentation called twice");
57085708
IRBuilder<> IRB(MSV.FnPrologueEnd);
5709-
VAArgSize = IRB.CreateLoad(MS.IntptrTy, MS.VAArgOverflowSizeTLS);
5709+
VAArgSize = IRB.CreateLoad(IRB.getInt64Ty(), MS.VAArgOverflowSizeTLS);
57105710
Value *CopySize = VAArgSize;
57115711

57125712
if (!VAStartInstrumentationList.empty()) {

0 commit comments

Comments
 (0)