[PATCH] D63540: Fix lookup of symbols at the same address with no size vs. size

Omair Javaid via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 00:58:05 PST 2019


Hi Jan,

This is known problem and fix is posted here https://reviews.llvm.org/D70155

Please use cmake argument -DLLVM_HOST_TRIPLE=arm-linux-gnueabihf as a
workaround.

Thanks!

On Fri, 15 Nov 2019 at 21:27, Jan Kratochvil via Phabricator <
reviews at reviews.llvm.org> wrote:

> 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
>
>
>
>

-- 
Omair Javaid
www.linaro.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191118/c110c7d1/attachment.html>


More information about the llvm-commits mailing list