[llvm-branch-commits] [clang] [TySan] A Type Sanitizer (Clang) (PR #76260)
Florian Hahn via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Nov 27 12:47:08 PST 2024
================
@@ -5740,7 +5740,8 @@ void CodeGenModule::EmitGlobalVarDefinition(const VarDecl *D,
if (NeedsGlobalCtor || NeedsGlobalDtor)
EmitCXXGlobalVarDeclInitFunc(D, GV, NeedsGlobalCtor);
- SanitizerMD->reportGlobal(GV, *D, NeedsGlobalCtor);
+ SanitizerMD->reportGlobalToASan(GV, *D, NeedsGlobalCtor);
----------------
fhahn wrote:
Actually on current `main`, `reportGlobal` reports not only to Asan, but also memsan and hwsan. Updated to include reporting globals to TySan, thanks!
https://github.com/llvm/llvm-project/pull/76260
More information about the llvm-branch-commits
mailing list