[all-commits] [llvm/llvm-project] 081adc: [Triple][CodeGen] Fix `Triple::isTargetEHABICompat...

Alex Rønne Petersen via All-commits all-commits at lists.llvm.org
Mon Jun 23 09:49:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 081adc15e8985057ee9ecd655029752afdd3a304
      https://github.com/llvm/llvm-project/commit/081adc15e8985057ee9ecd655029752afdd3a304
  Author: Alex Rønne Petersen <alex at alexrp.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/test/CodeGen/ARM/eh-resume.ll
    M llvm/test/CodeGen/ARM/ehabi.ll

  Log Message:
  -----------
  [Triple][CodeGen] Fix `Triple::isTargetEHABICompatible()` for NetBSD (#143549)

Even for EABI, NetBSD uses DWARF EH, not EHABI. This change matches the
Clang frontend behavior, and fixes link errors caused by incorrect
references to `__cxa_end_cleanup` rather than `_Unwind_Resume`.

With this change and #143055, I was able to run
[zig-bootstrap](https://github.com/ziglang/zig-bootstrap) to completion
for `arm-netbsd10.1-eabihf`.



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