Hi, Is there something I should do to have this patch proposal reviewed?
Thanks, S. On Jul 2, 2013, at 19:47 , [email protected] wrote: > > Bug ID 16526 > Summary New API to scan executable for architectures before creating a > target > Product lldb > Version unspecified > Hardware All > OS All > Status NEW > Severity enhancement > Priority P > Component All Bugs > Assignee [email protected] > Reporter [email protected] > Classification Unclassified > > Created attachment 10807 [details] > Diff to add lldb::SBDebugger::GetAvailableArchsFromFile > > As I haven't found a way to scan available architectures from executables I'd > like to add that to the API. For now the only way to do somehow do that is to > loop over all known archs and try to create the SBTarget. Depending on its > success we mark the arch as valid or not. As you can guess this is very slow > and can be made mauch better as lldb already has all the code needed to get > this information without loading the full target. > > The public API for this could be added to SBDebugger: > static lldb::SBStringList lldb::SBDebugger::GetAvailableArchsFromFile(const > char* filename); > > I have attached a patch implementing this feature. > > Cheers, > > S. > > You are receiving this mail because: > You are the assignee for the bug. > _______________________________________________ > 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
