jankratochvil added a comment.
@omjavaid In the end I built a native `armv7l-unknown-linux-gnueabihf` lldb
using:
cmake ../llvm-monorepo/llvm/ -DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_PROJECTS="lldb;clang;lld" -DLLVM_ENABLE_ASSERTIONS=ON
-DLLVM_BUILD_LLVM_DYLIB
Built it from trunk: `16bdcc809c72c639a2888b6b859dca88453e3c28`
But it does not stop even in a trivial breakpoint:
$ echo 'int main(){}'|gcc -x c - -g;./bin/lldb -o 'b main' -o r ./a.out
(lldb) target create "./a.out"
Current executable set to
'/home/fedora/jankratochvil/jkratoch/redhat/llvm-monorepo-clangassertdyn/a.out'
(arm).
(lldb) b main
Breakpoint 1: where = a.out`main + 12 at <stdin>:1:1, address = 0x000103dc
(lldb) r
Process 12146 exited with status = 0 (0x00000000)
Process 12146 launched:
'/home/fedora/jankratochvil/jkratoch/redhat/llvm-monorepo-clangassertdyn/a.out'
(arm)
(lldb) q
Are there some off-trunk patches needed?
kernel-5.2.9-200.fc30.armv7hl
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63540/new/
https://reviews.llvm.org/D63540
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits