[lldb-dev] CompileUnit missing

Greg Clayton gclayton at apple.com
Thu Feb 26 11:00:29 PST 2015


You must build with -g for debug info. 

> On Feb 26, 2015, at 7:22 AM, Alexander von Below <below at mac.com> wrote:
> 
> Hello,
> 
> the core of my issue is that I can not step into my code (which is a library produced by some CMake wizzardry). When I do a lookup with lldb, this is what I get:
> 
> (lldb) image lookup --address 0x2f1f88 --verbose
>      Address: MyApp[0x00209f88] (MyApp.__TEXT.__text + 2099512)
>      Summary: MyApp`foobar
>       Module: file = "/Users/below/Library/Developer/Xcode/DerivedData/iOSFramework-caxzowzbpppqvyglcwsdwtxbklke/Build/Products/Debug-iphoneos/MyApp.app/MyApp", arch = "armv7"
>       Symbol: id = {0x00023b5a}, range = [0x002f1f88-0x002f2148), name="MyApp"
> 
> I would expect a "CompileUnit" here, pointing to my source file, but that can not be found. 
> 
> What flags are responsible for generating this? Is this a visibility issue (it's a C function)?
> 
> Where can I start digging to find out what's wrong?
> 
> Thanks
> 
> Alex
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list