[all-commits] [llvm/llvm-project] 9d88ff: [JITLink] Handle compact-unwind records that depen...

Lang Hames via All-commits all-commits at lists.llvm.org
Wed Feb 5 21:10:55 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d88ffe7f7b4a46d3bcb7bbdf0d7eb037ab5ba04
      https://github.com/llvm/llvm-project/commit/9d88ffe7f7b4a46d3bcb7bbdf0d7eb037ab5ba04
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/CompactUnwindSupport.h
    M llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
    M llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
    R llvm/test/ExecutionEngine/Orc/minimal-throw-catch.ll
    A llvm/test/ExecutionEngine/Orc/throw-catch-minimal.ll

  Log Message:
  -----------
  [JITLink] Handle compact-unwind records that depend on DWARF FDEs.

Compact-unwind encodings are more limited than DWARF frame descriptions. For
functions whose frame layout cannot be described by a compact unwind encoding,
the encoding for the function will specify "use DWARF", and the corresponding
unwind-info record will use the low bits of the encoding to point to the FDE
for the function.

We test this with a frame-pointer=none function, since these frame layouts
always triger a fall-back to DWARF on arm64.



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