<div dir="ltr">Thanks for the quick reply.<div><br></div><div>unfortunately I am out of my work environment currently. So I can't check "Image lookup".</div><div><br></div><div>Yes, I am remotely debugging from command line lldb from Mac OS X (not with Xcode).  It seems to be exploding those libraries in the path you mentioned.</div><div><br></div><div>Below are commands that I was using.</div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">platform select remote-ios</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">process connect connect://<a href="http://127.0.0.1:1234">127.0.0.1:1234</a></p></div><div><br></div><div>The platform select remote-ios output is here :</div><div><p style="margin:0px;font-size:11px;font-family:Menlo"> Platform: remote-ios</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> Connected: no</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Path: "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.1 (12B411)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [ 0] "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [ 1] "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [ 2] "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [ 3] "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [ 4] "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.0"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [ 5] "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.1"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [ 6] "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.0"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [ 7] "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [ 8] "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.0"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [ 9] "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.1 (12B411)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [10] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/(null) ((null))"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [11] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/5.1 (9B176)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [12] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/5.1.1 (9B206)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [13] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/6.0 (10A403)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [14] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/6.0 (10A5355d)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [15] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/6.0.2 (10A551)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [16] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/6.1.2 (10B146)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [17] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/6.1.3 (10B329)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [18] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/7.0 (11A4372q)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [19] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/7.0 (11A465)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [20] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/7.0.2 (11A501)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [21] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/7.0.3 (11B511)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [22] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/7.1.1 (11D201)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [23] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/7.1.2 (11D257)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [24] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/8.0 (12A365)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [25] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/8.0 (12A4265u)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [26] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/8.0 (12A4297e)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [27] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/8.0 (12A4318c)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [28] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/8.0 (12A4331d)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [29] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/8.0 (12A4345d)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [30] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/8.0.2 (12A405)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [31] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/8.1.1 (12B436)"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> SDK Roots: [32] "/Users/xxxxxxxxx/Library/Developer/Xcode/iOS DeviceSupport/8.1.3 (12B466)"</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 17, 2015 at 1:09 PM, Greg Clayton <span dir="ltr"><<a href="mailto:gclayton@apple.com" target="_blank">gclayton@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When a shared library has internal symbols it doesn't want exposed, it can mark then as internal. When these shared libraries get copied into the dyld_shared_cache, all internal symbols are removed and all of their names in the symbol table are replaced with a single string table entry that points to "<redacted>". If you are debugging on a desktop remotely we should be getting these symbols as the symbols are reconstructed when the shared cache is exploded onto the host system. Xcode will download the dyld_shared_cache and exploded it back into shared libraries into "~/Library/Developer/Xcode/iOS DeviceSupport/*" where "*" is something like "8.1 (XXXXXXX)" where XXXXXXX is the build number of the OS build.<br>
<br>
Did you hook your device up to Xcode and let it explode the shared cache?<br>
Are you running this remotely on your desktop? If so what does the output of "target list" show? Does it have the correct "remote-ios" as the platform?<br>
What does "image lookup -va 0x00000001905d89dc" show for the case you have below?<br>
<div><div class="h5"><br>
> On Mar 17, 2015, at 10:22 AM, Sridhar <<a href="mailto:sridhar124@gmail.com">sridhar124@gmail.com</a>> wrote:<br>
><br>
> Hi guys,<br>
><br>
> I am new to lldb and I was trying to debug a "non debug" stack which I don't have source code for it. In the call stack it shows something like below. (It is arm64 iOS binary)<br>
><br>
> frame #1: 0x00000001905d89dc AVLib`<redacted> + 80<br>
><br>
> I am not quite understand the reason behind showing the symbol name as "redacted". They are objective C methods and dispatch blocks. C symbols are actually fine. If I dissemble using IDA, it shows those symbol names properly. Those symbols are from an external static lib and I loaded them using add image command. When I search those symbols using "image lookup" it shows all symbols from the static lib. So when I put a break point on those symbols, it won't stop. Is there anyway to resolve the symbol names and properly stop at breakpoint on these symbols ?<br>
><br>
> I also see, incorrect calls symbols inside frames but when I step through them they change to actual call frames.<br>
> e.g the below call really won't go to VRTracePrint but some other symbol.<br>
> 0x1905d8a18:  orr    w0, wzr, #0x3<br>
> 0x1905d8a1c:  movz   w3, #651<br>
> 0x1905d8a20:  bl     0x190618244               ; symbol stub for: VRTracePrint_<br>
><br>
> Thanks,<br>
> Sri<br>
</div></div>> _______________________________________________<br>
> lldb-dev mailing list<br>
> <a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br>
</blockquote></div><br></div>