Generating __debugbreak() for TRAP_SEQUENCE1_ on Windows ARM64
The instruction 'BRK #F000' does trap on Windows ARM64 which is different from other ARM64 platforms. Calling __debugbreak() which will produce the right encoding and always supported by MSVC and clang. Bug: 893460 Change-Id: I54e2d8de6ae7d9ba5929dc8e382e18a99d5aaeb4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879677Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Bruce Dawson <brucedawson@chromium.org> Commit-Queue: Tom Tan <Tom.Tan@microsoft.com> Cr-Commit-Position: refs/heads/master@{#710700}
Showing
Please register or sign in to comment