[compiler-rt] [llvm] [msan] Add experimental '-mllvm -msan-embed-faulting-instruction' and MSAN_OPTIONS=print_faulting_instruction (PR #136539)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 18:26:56 PDT 2025
================
@@ -915,9 +974,15 @@ void MemorySanitizer::createUserspaceApi(Module &M,
AccessSizeIndex++) {
unsigned AccessSize = 1 << AccessSizeIndex;
std::string FunctionName = "__msan_maybe_warning_" + itostr(AccessSize);
+ SmallVector<Type *, 4> ArgsTy = {IRB.getIntNTy(AccessSize * 8),
----------------
fmayer wrote:
Should't this be SmallVector<Type *, 3>? I see at most 3 things being in there
https://github.com/llvm/llvm-project/pull/136539
More information about the llvm-commits
mailing list