aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug/SelfInfo/Elf.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-10-16 15:56:32 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-10-18 00:36:52 +0200
commiteb36a45ed9fbdf5ab92c3cdb650375a13eaaa648 (patch)
tree79019b131472eb6c157755f5b603a53a0a1ce7d9 /lib/std/debug/SelfInfo/Elf.zig
parentde3947608ceb6e4603e3d249fb07183e3a431536 (diff)
downloadzig-eb36a45ed9fbdf5ab92c3cdb650375a13eaaa648.tar.gz
zig-eb36a45ed9fbdf5ab92c3cdb650375a13eaaa648.zip
std.debug: add CPU context and DWARF mappings for or1k
Diffstat (limited to 'lib/std/debug/SelfInfo/Elf.zig')
-rw-r--r--lib/std/debug/SelfInfo/Elf.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/debug/SelfInfo/Elf.zig b/lib/std/debug/SelfInfo/Elf.zig
index 4f3fbe9177..44e5e70e3b 100644
--- a/lib/std/debug/SelfInfo/Elf.zig
+++ b/lib/std/debug/SelfInfo/Elf.zig
@@ -101,7 +101,7 @@ pub const can_unwind: bool = s: {
.x86,
.x86_64,
},
- // Not supported yet: arc, arm/armeb/thumb/thumbeb, m68k, or1k, xtensa
+ // Not supported yet: arc, arm/armeb/thumb/thumbeb, m68k, xtensa
.linux => &.{
.aarch64,
.aarch64_be,
@@ -111,6 +111,7 @@ pub const can_unwind: bool = s: {
.mipsel,
.mips64,
.mips64el,
+ .or1k,
.riscv32,
.riscv64,
.s390x,