[Lldb-commits] [lldb] [lldb] Unwind through ARM Cortex-M exceptions automatically (PR #153922)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 26 07:03:07 PDT 2025


================
@@ -0,0 +1,41 @@
+{
+  "triple": "armv7m-apple",
+  "uuid": "2D157DBA-53C9-3AC7-B5A1-9D336EC831CB",
+  "type": "executable",
+  "sections": [
+    {
+      "user_id": 100,
+      "name": "TEXT",
+      "type": "code",
+      "address": 2097664,
+      "size": 598872,
+      "file_offset": 0,
+      "file_size": 598872,
+      "alignment": 2,
+      "flags": 514,
+      "read": true,
+      "write": false,
+      "execute": true
+    }
+  ],
+  "symbols": [
+    {
+      "name": "main",
+      "type": "code",
+      "size": 10,
+      "address": 2108030
+    },
+    {
+      "name": "exception_catcher",
+      "type": "code",
+      "size": 44,
+      "address": 2111760
+    },
+    {
+      "name": "exception_thrower",
+      "type": "code",
+      "size": 2652,
+      "address": 2108040
+    }
+  ]
+}
----------------
DavidSpickett wrote:

Ideally we'd have the source code for the catch and throw in case we have to recreate this.

Ofc we'll have to recreate a toolchain to build it and simulators to run it but still, if you can include basic source then if we need it, it's there, and hopefully we never need to update the test anyway.

https://github.com/llvm/llvm-project/pull/153922


More information about the lldb-commits mailing list