[Lldb-commits] [lldb] [lldb/aarch64] Allow unaligned PC addresses below a trap handler (PR #92093)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed May 15 01:00:08 PDT 2024


================
@@ -0,0 +1,26 @@
+# REQUIRES: (target-aarch64 || target-arm) && native
+# UNSUPPORTED: system-windows
+
+# RUN: %clang_host %S/Inputs/unaligned-pc-sigbus.c -o %t
+# RUN: %lldb -s %s -o exit %t | FileCheck %s
+
+breakpoint set -n sigbus_handler
+# CHECK: Breakpoint 1: where = {{.*}}`sigbus_handler
+
+run
+# CHECK: thread #1, {{.*}} stop reason = signal SIGBUS
----------------
labath wrote:

Thanks for checking this out. I'll xfail the test and reference the rdar, and also the llvm bug I created earlier.

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


More information about the lldb-commits mailing list