[PATCH] D132907: [msan] Add more specific messages for use-after-destroy

Kirill Stoimenov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 30 15:14:52 PDT 2022


kstoimenov accepted this revision.
kstoimenov added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/CodeGen/CGClass.cpp:1773
       // function
-      EmitSanitizerDtorCallback(CGF, VTablePtr, PoisonSize);
+      EmitSanitizerDtorCallback(CGF, "__sanitizer_dtor_callback_vptr",
+                                VTablePtr);
----------------
Should this be a constant? 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132907/new/

https://reviews.llvm.org/D132907



More information about the cfe-commits mailing list