Skip to content

Commit 1025424

Browse files
author
Kamil Kashapov
committed
fixup! [MSan] Change overflow_size_tls type to IntPtrTy
1 parent 6c2d572 commit 1025424

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -899,8 +899,8 @@ void MemorySanitizer::createUserspaceApi(Module &M,
899899
getOrInsertGlobal(M, "__msan_va_arg_origin_tls",
900900
ArrayType::get(OriginTy, kParamTLSSize / 4));
901901

902-
VAArgOverflowSizeTLS =
903-
getOrInsertGlobal(M, "__msan_va_arg_overflow_size_tls", IRB.getIntPtrTy(M.getDataLayout()));
902+
VAArgOverflowSizeTLS = getOrInsertGlobal(M, "__msan_va_arg_overflow_size_tls",
903+
IRB.getIntPtrTy(M.getDataLayout()));
904904

905905
for (size_t AccessSizeIndex = 0; AccessSizeIndex < kNumberOfAccessSizes;
906906
AccessSizeIndex++) {

0 commit comments

Comments
 (0)