[Lldb-commits] [lldb] [lldb] Added a warning in case of instruction decode failure (PR #164413)

Timur Golubovich via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 22 08:03:29 PDT 2025


================
@@ -5,5 +5,8 @@ int main(int argc, const char *argv[]) {
   double my_double = 1234.5678;
   int my_ints[] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22};
   uint64_t my_uint64s[] = {0, 1, 2, 3, 4, 5, 6, 7};
+  // assume that 0xffffffff is invalid instruction in RISC-V and AArch64
+  // and decoding it will fail
+  char my_insns[] = {0xff, 0xff, 0xff, 0xff};
----------------
tgs-sc wrote:

Addressed

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


More information about the lldb-commits mailing list