[llvm] [MSan] Change overflow_size_tls type to IntPtrTy (PR #117689)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 14:25:23 PST 2024


================
@@ -899,8 +899,8 @@ void MemorySanitizer::createUserspaceApi(Module &M,
       getOrInsertGlobal(M, "__msan_va_arg_origin_tls",
                         ArrayType::get(OriginTy, kParamTLSSize / 4));
 
-  VAArgOverflowSizeTLS =
-      getOrInsertGlobal(M, "__msan_va_arg_overflow_size_tls", IRB.getInt64Ty());
+  VAArgOverflowSizeTLS = getOrInsertGlobal(M, "__msan_va_arg_overflow_size_tls",
----------------
vitalybuka wrote:

this one is defined at llvm-project/compiler-rt/lib/msan/msan.cpp
we need it to change is this patch as well

https://github.com/llvm/llvm-project/pull/117689


More information about the llvm-commits mailing list