| ... | @@ -231,8 +231,8 @@ fn _start() callconv(.naked) noreturn { | ... | @@ -231,8 +231,8 @@ fn _start() callconv(.naked) noreturn { |
| 231 | } | 231 | } |
| 232 | | 232 | |
| 233 | // This is the first userspace frame. Prevent DWARF-based unwinders from unwinding further. We | 233 | // This is the first userspace frame. Prevent DWARF-based unwinders from unwinding further. We |
| 234 | // prevent FP-based unwinders from unwinding further by zeroing the register further below. | 234 | // prevent FP-based unwinders from unwinding further by zeroing the register below. |
| 235 | asm volatile (switch (native_arch) { | 235 | if (builtin.unwind_tables != .none or !builtin.strip_debug_info) asm volatile (switch (native_arch) { |
| 236 | .arc => ".cfi_undefined blink", | 236 | .arc => ".cfi_undefined blink", |
| 237 | .arm, .armeb, .thumb, .thumbeb => "", // https://github.com/llvm/llvm-project/issues/115891 | 237 | .arm, .armeb, .thumb, .thumbeb => "", // https://github.com/llvm/llvm-project/issues/115891 |
| 238 | .aarch64, .aarch64_be => ".cfi_undefined lr", | 238 | .aarch64, .aarch64_be => ".cfi_undefined lr", |