Page MenuHomeFreeBSD

Merge commit 7214f7a79 from llvm git (by Sam Elliott):
ClosedPublic

Authored by brooks on Feb 27 2020, 6:39 PM.
Tags
None
Referenced Files
F106192479: D23857.diff
Thu, Dec 26, 10:18 PM
Unknown Object (File)
Fri, Nov 29, 6:25 PM
Unknown Object (File)
Nov 23 2024, 10:47 AM
Unknown Object (File)
Nov 21 2024, 10:16 AM
Unknown Object (File)
Nov 18 2024, 8:02 AM
Unknown Object (File)
Nov 14 2024, 2:20 AM
Unknown Object (File)
Nov 12 2024, 9:44 AM
Unknown Object (File)
Nov 11 2024, 4:50 AM
Subscribers

Details

Summary
[RISCV] Lower llvm.trap and llvm.debugtrap

Summary:
Until this commit, these have lowered to a call to abort().

`llvm.trap()` now lowers to `unimp`, which should trap on all systems.

`llvm.debugtrap()` now lowers to `ebreak`, which is exactly what this
instruction is for.

Reviewers: asb, luismarques

Reviewed By: asb

Tags: #llvm

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

This fixes miscompilation resulting in linking failures with
INVARIANTS disabled.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable