[clang] [cfi] Enable -fsanitize-annotate-debug-info functionality for CFI checks (PR #139809)
Thurston Dang via cfe-commits
cfe-commits at lists.llvm.org
Thu May 15 11:01:00 PDT 2025
================
@@ -2842,24 +2882,12 @@ void CodeGenFunction::EmitVTablePtrCheck(const CXXRecordDecl *RD,
!CGM.HasHiddenLTOVisibility(RD))
return;
- SanitizerKind::SanitizerOrdinal M;
- llvm::SanitizerStatKind SSK;
+ auto [M, SSK] = ParseCFITypeCheckKind(TCK);
switch (TCK) {
----------------
thurstond wrote:
> this switch is now a noop?
I've now simplified ParseCFITypeCheckKind in https://github.com/llvm/llvm-project/pull/139809/commits/e9c40b9ff66ea7476f2d750883df9c7c63b9fec6 such that the switch really is a no-op (and removed)
https://github.com/llvm/llvm-project/pull/139809
More information about the cfe-commits
mailing list