about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-07-25 18:46:48 +0900
committerGitHub <noreply@github.com>2022-07-25 18:46:48 +0900
commite726af8dd435b2f20bfcfa90930c6890b8fb8cc6 (patch)
tree0bf476dd679ff7b201727a65af892ba54fb7cdf3 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent0ecbcbb0ace4229f59e09de035ccef747b024e00 (diff)
parent9d1f82ebfcc0925631c2a09273b88e3cadb1b318 (diff)
downloadrust-e726af8dd435b2f20bfcfa90930c6890b8fb8cc6.tar.gz
rust-e726af8dd435b2f20bfcfa90930c6890b8fb8cc6.zip
Rollup merge of #95916 - solid-rs:feat-kmc-solid-abort, r=Mark-Simulacrum
kmc-solid: Use `libc::abort` to abort a program

This PR updates the target-specific abort subroutine for the [`*-kmc-solid_*`](https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html) Tier 3 targets.

The current implementation uses a `hlt` instruction, which is the most direct way to notify a connected debugger but is not the most flexible way. This PR changes it to call the `abort` libc function, making it possible for a system designer to override its behavior as they see fit.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions