[clang] [ubsan] Add more -fsanitize-annotate-debug-info checks (PR #141997)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 3 10:31:34 PDT 2025


================
@@ -2817,7 +2817,9 @@ void CodeGenFunction::EmitVTablePtrCheckForCall(const CXXRecordDecl *RD,
     RD = LeastDerivedClassWithSameLayout(RD);
 
   auto [Ordinal, _] = SanitizerInfoFromCFICheckKind(TCK);
-  ApplyDebugLocation ApplyTrapDI(*this, SanitizerAnnotateDebugInfo(Ordinal));
+  ApplyDebugLocation ApplyTrapDI(
----------------
vitalybuka wrote:

Probably in follow up patches

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


More information about the cfe-commits mailing list