[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:07 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?
----------------
fhahn wrote:

Yep, merged the code to report globals again, thanks!

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


More information about the llvm-branch-commits mailing list