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

Johnny Chen johnny.chen at apple.com
Fri Mar 16 14:58:36 PDT 2012


Patch applied.  Thanks!

URL: http://llvm.org/viewvc/llvm-project?rev=152942&view=rev
Log:
Patch from dawn at burble.org:

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.

Modified:
   lldb/trunk/include/lldb/API/SBCompileUnit.h
   lldb/trunk/include/lldb/API/SBModule.h
   lldb/trunk/source/API/SBCompileUnit.cpp
   lldb/trunk/source/API/SBModule.cpp

On Mar 16, 2012, at 1:31 PM, Johnny Chen <johnny.chen at apple.com> wrote:

> 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
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120316/5f695d90/attachment.html>


More information about the lldb-dev mailing list