diff options
| author | Tomoaki Kawada <kawada@kmckk.co.jp> | 2022-03-22 11:13:56 +0900 |
|---|---|---|
| committer | Tomoaki Kawada <kawada@kmckk.co.jp> | 2022-04-11 11:10:00 +0900 |
| commit | 9d1f82ebfcc0925631c2a09273b88e3cadb1b318 (patch) | |
| tree | 5eddfeac890a37d3b942242d9c4034340f4ffcd6 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | 1f7fb6413d6d6c0c929b223e478e44c3db991b03 (diff) | |
| download | rust-9d1f82ebfcc0925631c2a09273b88e3cadb1b318.tar.gz rust-9d1f82ebfcc0925631c2a09273b88e3cadb1b318.zip | |
kmc-solid: Use `abort` to abort a program
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 commit changes it to a call to 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
