[all-commits] [llvm/llvm-project] abf3bd: [clang][DebugInfo] Fix verbose trap source line (#...

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Thu Sep 10 04:24:15 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abf3bd63bb37d00aa4cd8b5dad873e1140d06348
      https://github.com/llvm/llvm-project/commit/abf3bd63bb37d00aa4cd8b5dad873e1140d06348
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/DebugInfo/CXX/verbose-trap.cpp

  Log Message:
  -----------
  [clang][DebugInfo] Fix verbose trap source line (#222456)

The artificial inline location for `__builtin_verbose_trap` used line
zero. As a result, the emitted trap could inherit the preceding source
line in DWARF line tables.

Keep the artificial trap-message frame while assigning the builtin
call's line and column to the trap instruction.



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