summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/QueueItem.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Correctly add the QueueID to a pending block's extended thread backtrace thread.Jason Molenda2014-03-101-9/+75
| | | | | | | | | Seed the QueueItem objects with the item_refs and addresses when they are fetched in one batch. If additional information is needed from the QueueItem, fetch it lazily one pending item per function call. <rdar://problem/16270007>, <rdar://problem/16032150> llvm-svn: 203449
* libBacktraceRecording __introspection_dispatch_queue_get_pending_items isJason Molenda2014-03-091-1/+2
| | | | | | | | | | | changing the data it returns; this change accepts either the old format or the new format. It doesn't yet benefit from the new format's additions - but I need to get this checked in so we aren't rev-locked. Also add a missing .i entry for SBQueue::GetNumRunningItems() missing from the last checkin. <rdar://problem/16272115> llvm-svn: 203421
* When a client asks for a queue pending item's extended backtrace,Jason Molenda2014-03-061-0/+12
| | | | | | | | | | | hold a strong pointer to that extended backtrace thread in the Process just like we do for asking a thread's extended backtrace. Also, give extended backtrace threads an invalid ThreadIndexID number. We'll still give them valid thread_id's. Clients who want to know the original thread's IndexID can call GetExtendedBacktraceOriginatingIndexID(). <rdar://problem/16126034> llvm-svn: 203088
* Change the Mac OS X SystemRuntime plugin from using the placeholderJason Molenda2014-02-051-2/+23
| | | | | | | | | | | | | | libldi library to collect extended backtrace information; switch to the libBacktraceRecording library and its APIs. Complete the work of adding QueueItems to Queues and allow for the QueueItems to be interrogated about their extended backtraces in turn. There's still cleanup and documentation to do on this code but the code is functional and I it's a good time to get the work-in-progress checked in. <rdar://problem/15314027> llvm-svn: 200822
* Fix how Queue/QueueItem weak pointers are initialized in the ctors.Jason Molenda2013-12-181-1/+2
| | | | llvm-svn: 197541
* Add new Queue, QueueItem, Queuelist, SBQueue, SBQueueItem classes to representJason Molenda2013-12-131-0/+55
libdispatch aka Grand Central Dispatch (GCD) queues. Still fleshing out the documentation and testing of these but the overall API is settling down so it's a good time to check it in. <rdar://problem/15600370> llvm-svn: 197190
OpenPOWER on IntegriCloud