[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
================
@@ -873,16 +926,22 @@ void MemorySanitizer::createUserspaceApi(Module &M,
// Create the callback.
// FIXME: this function should have "Cold" calling conv,
// which is not yet implemented.
+ StringRef WarningFnName = getWarningFnName(
+ TrackOrigins, Recover,
+ ClEmbedFaultingInst != MSanEmbedFaultingInstructionMode::None);
+ SmallVector<Type *, 4> ArgsTy = {};
----------------
fmayer wrote:
Should't this be `SmallVector<Type *, 2>`? I don't see four things being put in
https://github.com/llvm/llvm-project/pull/136539
More information about the llvm-commits
mailing list