summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/HistoryThread.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused class variable and update all callers/users.Eric Christopher2014-09-091-1/+1
| | | | llvm-svn: 217419
* Temporarily roll back the parts of r211241 where I fixed aJason Molenda2014-06-231-1/+1
| | | | | | | | | | mistake in the lock acquistion in HistoryUnwind and HistoryThread. We've got a deadlock with one use case of HistoryUnwind; I need to figure out what lock ordering is causing this and fix it for real. <rdar://problem/17411904> llvm-svn: 211541
* Add a lock in the UnwindTable class so two Targets won't tryJason Molenda2014-06-181-1/+1
| | | | | | | | | | to modify the same UnwindTable object simultaneously. Fix HistoryThread and HistoryUnwind's mutex lock acqusition to retain the lock for the duration of the operation instead of releasing the temporary immediately. <rdar://problem/17055023> llvm-svn: 211241
* sweep up -Wformat warnings from gccSaleem Abdulrasool2014-04-041-2/+4
| | | | | | | 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
* When a client asks for a queue pending item's extended backtrace,Jason Molenda2014-03-061-1/+5
| | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | 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
* Add logging for the SB API which creates extendedJason Molenda2013-11-191-1/+2
| | | | | | | | | | threads. Take a stab at fixing the too-soon freeing of the extended backtrace thread list in Process. <rdar://problem/15496603> llvm-svn: 195104
* Add a new SBThread::GetExtendedBacktraceOriginatingIndexID() methodJason Molenda2013-11-161-1/+18
| | | | | | | | | | (and same thing to Thread base class) which can be used when looking at an ExtendedBacktrace thread; it will try to find the IndexID() of the original thread that was executing this backtrace when it was recorded. If lldb can't find a record of that thread, it will return the same value as IndexID() for the ExtendedBacktrace thread. llvm-svn: 194912
* Commit a work-in-progress system runtime for Mac OS X which won'tJason Molenda2013-11-151-1/+2
| | | | | | | | do anything right now. Add a few new methods to the Thread base class which HistoryThread needs. I think I updated all the CMakeLists files correctly for the new plugin. llvm-svn: 194756
* Add object logging to HistoryThread. Call the DoDestroy() method fromJason Molenda2013-11-121-0/+8
| | | | | | the HistoryThread dtor. llvm-svn: 194436
* Add History subclasses for Thread, Unwind, RegisterContext.Jason Molenda2013-11-081-0/+68
Still working out some of the details of these classes but I wanted to get the overall structure checked in. <rdar://problem/15314068> llvm-svn: 194245
OpenPOWER on IntegriCloud