[lldb-dev] lldb.macosx.heap for iOS?
joe at alacatialabs.com
Tue Aug 6 10:53:31 PDT 2013
On Tue, Aug 6, 2013 at 11:36 AM, Nick Xiao (nixiao) <nixiao at cisco.com>wrote:
> Hi folks,
> I’m playing with lldb.macosx.heap. It works well on Mac.
> Though the document says it’s only for Mac OS X, I tried it when debugging
> an iOS app.
> It managed to get loaded. but Xcode crashes when I was issuing a cstr_refs
> I’m wondering what it takes to support iOS?
> I saw someone on StackOverflow said it could work on iOS with Xcode 4.5-.
> Not sure if it’s the case. May have a try with a Xcode 4.5 tomorrow.
If it's anything like 32-bit OS X, it's a matter of MCJIT
(RuntimeDyldMachO::processRelocationRef) not supporting scattered
relocations generated by the platform's MachOObjectWriter. I've been
hacking at this when I find spare time for 32-bit x86, but spare time is
hard to come by.
-- Joe Ranieri
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev