[Lldb-commits] [PATCH] D71498: Fix ARM32 inferior calls

Muhammad Omair Javaid via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 16 02:48:24 PST 2019


omjavaid added a comment.

I still seem to get the same issue after applying this patch and D63540 <https://reviews.llvm.org/D63540>.

echo -e '#include <unistd.h>\nint main(void){\nsync();return 0;}'|./bin/clang -g -x c -;./bin/lldb -o 'file ./a.out' -o 'b main' -o r -o 'p (void)sync()'
(lldb) file ./a.out
Current executable set to '/home/omair.javaid/work/lldb/build/armhf/a.out' (arm).
(lldb) b main
Breakpoint 1: where = a.out`main + 20 at <stdin>:3:1, address = 0x000103c4
(lldb) r
Process 33825 stopped

- thread #1, name = 'a.out', stop reason = breakpoint 1.1 frame #0: 0x000103c4 a.out`main at <stdin>:3:1

Process 33825 launched: '/home/omair.javaid/work/lldb/build/armhf/a.out' (arm)
(lldb) p (void)sync()
error: Can't run the expression locally: Interpreter doesn't handle one of the expression's opcodes
(lldb)

I am trying to track it down will update you later today.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71498/new/

https://reviews.llvm.org/D71498





More information about the lldb-commits mailing list