summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBQueue.cpp
Commit message (Collapse)AuthorAgeFilesLines
* *** This commit represents a complete reformatting of the LLDB source codeKate Stone2016-09-061-383/+280
| | | | | | | | | | | | | | | | | | | | | | | *** to conform to clang-format’s LLVM style. This kind of mass change has *** two obvious implications: Firstly, merging this particular commit into a downstream fork may be a huge effort. Alternatively, it may be worth merging all changes up to this commit, performing the same reformatting operation locally, and then discarding the merge for this particular commit. The commands used to accomplish this reformatting were as follows (with current working directory as the root of the repository): find . \( -iname "*.c" -or -iname "*.cpp" -or -iname "*.h" -or -iname "*.mm" \) -exec clang-format -i {} + find . -iname "*.py" -exec autopep8 --in-place --aggressive --aggressive {} + ; The version of clang-format used was 3.9.0, and autopep8 was 1.2.4. Secondly, “blame” style tools will generally point to this commit instead of a meaningful prior commit. There are alternatives available that will attempt to look through this change and find the appropriate prior commit. YMMV. llvm-svn: 280751
* Don't #include "lldb-python.h" from anywhere.Zachary Turner2015-05-291-2/+0
| | | | | | | | | | | | | Since interaction with the python interpreter is moving towards being more isolated, we won't be able to include this header from normal files anymore, all includes of it should be localized to the python library which will live under source/bindings/API/Python after a future patch. None of the files that were including this header actually depended on it anyway, so it was just a dead include in every single instance. llvm-svn: 238581
* Add a new SBThread::GetQueue() method to get the queue that is Jason Molenda2014-04-251-0/+2
| | | | | | | | | | currently associated with a given thread, on relevant targets. Change the queue detection code to verify that the queues associated with all live threads are included in the list. <rdar://problem/16411314> llvm-svn: 207160
* sweep up -Wformat warnings from gccSaleem Abdulrasool2014-04-041-13/+17
| | | | | | | This is a purely mechanical change explicitly casting any parameters for printf style conversion. This cleans up the warnings emitted by gcc 4.8 on Linux. llvm-svn: 205607
* Add a SBQueue::GetKind() method to retrieve the type of libdispatch queue ↵Jason Molenda2014-03-131-0/+17
| | | | | | | | (serial or concurrent). <rdar://problem/7964505> llvm-svn: 203748
* SBQueue::GetNumPendingItems() should not force a fetch of the pendingJason Molenda2014-03-091-6/+29
| | | | | | | | | items; the backing Queue object has the number of pending items already cached. Also, add SBQueue::GetNumRunningItems() to provide that information. <rdar://problem/16272016> llvm-svn: 203420
* Add inttypes.h to SBQueue.cpp (MSVC compilation error with PRIx32).Virgile Bello2014-03-081-0/+2
| | | | llvm-svn: 203348
* Add API logging to the SBQueue/SBQueueItem/SBThread calls.Jason Molenda2014-03-081-7/+43
| | | | llvm-svn: 203330
* Change the Mac OS X SystemRuntime plugin from using the placeholderJason Molenda2014-02-051-26/+26
| | | | | | | | | | | | | | 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
* Move the ivars / logic of SBQueue into a QueueImpl class and Jason Molenda2013-12-141-163/+274
| | | | | | | | change SBQueue to have a shared pointer to its corresponding QueueImpl object for binary compatibility. <rdar://problem/15657926> llvm-svn: 197300
* Add new Queue, QueueItem, Queuelist, SBQueue, SBQueueItem classes to representJason Molenda2013-12-131-0/+256
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