
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
55 lines
905 B
C++
55 lines
905 B
C++
//===-- SWIG Interface for SBQueue.h -----------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
namespace lldb {
|
|
|
|
class SBQueue
|
|
{
|
|
public:
|
|
SBQueue ();
|
|
|
|
SBQueue (const lldb::QueueSP& queue_sp);
|
|
|
|
~SBQueue();
|
|
|
|
bool
|
|
IsValid() const;
|
|
|
|
void
|
|
Clear ();
|
|
|
|
lldb::SBProcess
|
|
GetProcess ();
|
|
|
|
lldb::queue_id_t
|
|
GetQueueID () const;
|
|
|
|
const char *
|
|
GetName () const;
|
|
|
|
uint32_t
|
|
GetIndexID () const;
|
|
|
|
uint32_t
|
|
GetNumThreads ();
|
|
|
|
lldb::SBThread
|
|
GetThreadAtIndex (uint32_t);
|
|
|
|
uint32_t
|
|
GetNumPendingItems ();
|
|
|
|
lldb::SBQueueItem
|
|
GetPendingItemAtIndex (uint32_t);
|
|
|
|
};
|
|
|
|
} // namespace lldb
|
|
|