[all-commits] [llvm/llvm-project] b24c33: [cfi] Enable -fsanitize-annotate-debug-info functi...

Thurston Dang via All-commits all-commits at lists.llvm.org
Mon May 19 09:39:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b24c33a9d745bd2a3009f1d52f31247772e954e5
      https://github.com/llvm/llvm-project/commit/b24c33a9d745bd2a3009f1d52f31247772e954e5
  Author: Thurston Dang <thurston at google.com>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGClass.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/test/CodeGen/cfi-check-fail-debuginfo.c
    M clang/test/CodeGen/cfi-icall-generalize-debuginfo.c
    M clang/test/CodeGen/cfi-icall-normalize2-debuginfo.c

  Log Message:
  -----------
  [cfi] Enable -fsanitize-annotate-debug-info functionality for CFI checks (#139809)

This connects the -fsanitize-annotate-debug-info plumbing (https://github.com/llvm/llvm-project/pull/138577) to CFI check codegen, using SanitizerAnnotateDebugInfo() (https://github.com/llvm/llvm-project/pull/139965) and SanitizerInfoFromCFIKind (https://github.com/llvm/llvm-project/pull/140117).

Note: SanitizerAnnotateDebugInfo() is updated to a public function because it is needed in ItaniumCXXABI.

Updates the tests from https://github.com/llvm/llvm-project/pull/139149.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list