[lldb-dev] [PATCH] API support for files in a module.

Johnny Chen johnny.chen at apple.com
Fri Mar 16 13:31:00 PDT 2012


Hi Dawn,

I'll integrate your patch into ToT later.
Thanks.

On Mar 16, 2012, at 11:31 AM, dawn at burble.org wrote:

> (sending to lldb-dev as per the reply to someone else asking where lldb
> patches should go - let me know if that's not still the case).
> 
> These patches enable a client to retrieve the list of files belonging to
> a module using the API.  I wasn't sure if FindSupportFileIndex() should take 
> a starting index, but since other class methods did, I stuck with that theme.
> I didn't need the starting index, so I'd happily remove it if folks prefer.
> 
> Commit comment:
> GetSupportFileAtIndex(), GetNumSupportFiles(), FindSupportFileIndex():
>    Add API support for getting the list of files in a compilation unit.
> GetNumCompileUnits(), GetCompileUnitAtIndex():
>    Add API support for retrieving the compilation units in a module.
> 
> Please review and commit.
> 
> Thank you!
> -Dawn
> <lldb_modfiles.diff>_______________________________________________
> 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