[PATCH] D63617: [COFF, ARM64] Fix encoding of __debugbreak
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 20 13:18:49 PDT 2019
rnk added a comment.
I think it would be preferable to make `llvm.debugtrap` emit `brk #0xF000` on aarch64-windows-*, so other frontends (Rust etc) get the right behavior by default. Right now, AArch64 doesn't do anything special for DEBUGTRAP, so we get the default behavior of `llvm.trap`.
Is this `BRK #0xF000` convention universal to all OSs, or is it a specific convention for Windows debuggers?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63617/new/
https://reviews.llvm.org/D63617
More information about the cfe-commits
mailing list