[all-commits] [llvm/llvm-project] 8f7b51: [CodeGen] Make __clang_call_terminate have an unwi...

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Thu May 25 10:57:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f7b51e4ec09f6f50ea6508a196ec607f0659179
      https://github.com/llvm/llvm-project/commit/8f7b51e4ec09f6f50ea6508a196ec607f0659179
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    A clang/test/CodeGenCXX/clang-call-terminate.uwtable.cpp

  Log Message:
  -----------
  [CodeGen] Make __clang_call_terminate have an unwind table entry

This enables unwinders to step past that frame on architectures that
don't use DWARF unwinding (such as armv7), e.g. when debugging. The
problem should theoretically be architecture-agnostic, but according to
https://discourse.llvm.org/t/51633/2 it gets masked on architectures
that use DWARF unwind info.

Fixes https://github.com/llvm/llvm-project/issues/40696

Reviewed By: efriedma, rnk

Differential Revision: https://reviews.llvm.org/D151393




More information about the All-commits mailing list