[llvm-branch-commits] [clang] [TySan] A Type Sanitizer (Clang) (PR #76260)

Erich Keane via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 25 10:50:26 PST 2024


================
@@ -6630,7 +6631,8 @@ CodeGenModule::GetAddrOfConstantStringFromLiteral(const StringLiteral *S,
   if (Entry)
     *Entry = GV;
 
-  SanitizerMD->reportGlobal(GV, S->getStrTokenLoc(0), "<string literal>");
+  SanitizerMD->reportGlobalToASan(GV, S->getStrTokenLoc(0), "<string literal>");
+  // FIXME: Should we also report to the TySan?
----------------
erichkeane wrote:

Should we? 

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


More information about the llvm-branch-commits mailing list