Patch applied. Thanks! URL: http://llvm.org/viewvc/llvm-project?rev=152942&view=rev Log: Patch from [email protected]:
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 <[email protected]> wrote: > Hi Dawn, > > I'll integrate your patch into ToT later. > Thanks. > > On Mar 16, 2012, at 11:31 AM, [email protected] 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 >> [email protected] >> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev > > _______________________________________________ > lldb-dev mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
_______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
