[Lldb-commits] [PATCH] D63540: Fix lookup of symbols at the same address with no size vs. size
Jan Kratochvil via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 15 08:27:25 PST 2019
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
More information about the lldb-commits
mailing list