loongarch: Fix ASSERT() breakpoint support.
Bug: dawn:1506 Change-Id: I79aa5fe75477280570bfced0ee60aac5c18fab6f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/109900 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
7f2f82d01a
commit
09dd5635e4
|
@ -28,7 +28,7 @@ void BreakPoint() {
|
|||
#elif DAWN_PLATFORM_IS(ARM64)
|
||||
__asm__ __volatile__("brk 0");
|
||||
#elif DAWN_PLATFORM_IS(LOONGARCH)
|
||||
__asm__ __volatile__("break");
|
||||
__asm__ __volatile__("break 0");
|
||||
#elif DAWN_PLATFORM_IS(RISCV)
|
||||
__asm__ __volatile__("ebreak");
|
||||
#elif DAWN_PLATFORM_IS(MIPS)
|
||||
|
|
Loading…
Reference in New Issue