mirror of
https://github.com/andersrh/copr-andersrh.git
synced 2026-05-20 15:28:02 +00:00
18 lines
696 B
Diff
18 lines
696 B
Diff
Index: chromium-128.0.6613.113/v8/src/base/immediate-crash.h
|
|
===================================================================
|
|
--- chromium-128.0.6613.113.orig/v8/src/base/immediate-crash.h
|
|
+++ chromium-128.0.6613.113/v8/src/base/immediate-crash.h
|
|
@@ -98,6 +98,13 @@
|
|
#define TRAP_SEQUENCE1_() asm volatile(".2byte 0x0001");
|
|
#define TRAP_SEQUENCE2_() asm volatile("")
|
|
|
|
+#elif V8_HOST_ARCH_PPC64
|
|
+
|
|
+#define TRAP_SEQUENCE1_() asm volatile("trap")
|
|
+// Intentionally empty: __builtin_unreachable() is always part of the sequence
|
|
+// (see IMMEDIATE_CRASH below)
|
|
+#define TRAP_SEQUENCE2_() asm volatile("")
|
|
+
|
|
#else
|
|
|
|
// Crash report accuracy will not be guaranteed on other architectures, but at
|