You shouldn't have to do anything. dSYM files are bundles (directory that
contains other directories and files), so you will need to specify the file
inside the bundle:
% lldb-lookup -arch=arm64 foo.dSYM/Contents/Resources/DWARF/foo {address}
This will probably fix your issue.
> On Jul 1, 2015, at 3:08 AM, Murat Yakici <[email protected]> wrote:
>
> Thanks Ted,
>
> Updated libc++ and pointed gcc to the correct paths. That is sorted and
> compiled successfully.
>
> However, when I try to run lookup on an iOS app dsym I am getting an error as
> in the following:
>
> error: '{myDSYM}' doesn't contain architecture arm64
>
> The command I use is :
>
> $ lldb-lookup -arch=arm64 {myDSYM} {address}
>
> I verified that the dsym contains the arm64 slice. Any thoughts? Do I have to
> add a flag when compiling to include any additional functionality?
>
> Cheers,
>
> On Wednesday, 24 June 2015, Murat Yakici <[email protected]> wrote:
> Hi,
> I have successfully built LLDB on a linux x86_64 (following exact steps from
> the LLVM and LLDB web build pages).
>
> Cd to llvm/tools/lldb/examples/lookup/ and running make gives me the
> following error:
>
> main.cpp:17:10: fatal error: 'LLDB/SBBlock.h' file not found
>
> So it turns out this file exists in ../include/lldb/API/SBBlock.h
>
> I changed all includes in the example to point to 'lldb/API/..' (Which I
> believe should not be necessary in the first place)
>
> Now I am getting:
>
> ..SharingPtr.h:13:10: fatal error: 'algorithm' file not found
>
>
> I will appreciate if you can help me out on this.
>
> Thanks,
> Murat
> _______________________________________________
> lldb-dev mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev