History log of /external/lldb/source/Core/Broadcaster.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
952e9dc874944fcdbbb224f3ec4fc2c859376f64 28-Mar-2013 Greg Clayton <gclayton@apple.com> <rdar://problem/13521159>

LLDB is crashing when logging is enabled from lldb-perf-clang. This has to do with the global destructor chain as the process and its threads are being torn down.

All logging channels now make one and only one instance that is kept in a global pointer which is never freed. This guarantees that logging can correctly continue as the process tears itself down.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178191 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
b6641ba5fa6fd7c41f32cabc3ba94db1bc46c465 29-Mar-2012 Johnny Chen <johnny.chen@apple.com> Add log entries for HijackBroadcaster() as well as RestoreBroadcaster().


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153683 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
5a15e6927b5b3234fb3e688717297ba6b5dd6ad7 16-Feb-2012 Jim Ingham <jingham@apple.com> Add a general mechanism to wait on the debugger for Broadcasters of a given class/event bit set.
Use this to allow the lldb Driver to emit notifications for breakpoint modifications.
<rdar://problem/10619974>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150665 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
2f57db09a49f2a05a620b8163bbe1e748a46ec73 01-Oct-2011 Greg Clayton <gclayton@apple.com> Cleaned up the the code that figures out the inlined stack frames given a
symbol context that represents an inlined function. This function has been
renamed internally to:

bool
SymbolContext::GetParentOfInlinedScope (const Address &curr_frame_pc,
SymbolContext &next_frame_sc,
Address &next_frame_pc) const;

And externally to:

SBSymbolContext
SBSymbolContext::GetParentOfInlinedScope (const SBAddress &curr_frame_pc,
SBAddress &parent_frame_addr) const;

The correct blocks are now correctly calculated.

Switched the stack backtracing engine (in StackFrameList) and the address
context printing over to using the internal SymbolContext::GetParentOfInlinedScope(...)
so all inlined callstacks will match exactly.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
801417e453f8531ac176cd952200587bf15d9ccf 07-Jul-2011 Greg Clayton <gclayton@apple.com> Added "target variable" command that allows introspection of global
variables prior to running your binary. Zero filled sections now get
section data correctly filled with zeroes when Target::ReadMemory
reads from the object file section data.

Added new option groups and option values for file lists. I still need
to hook up all of the options to "target variable" to allow more complete
introspection by file and shlib.

Added the ability for ValueObjectVariable objects to be created with
only the target as the execution context. This allows them to be read
from the object files through Target::ReadMemory(...).

Added a "virtual Module * GetModule()" function to the ValueObject
class. By default it will look to the parent variable object and
return its module. The module is needed when we have global variables
that have file addresses (virtual addresses that are specific to
module object files) and in turn allows global variables to be displayed
prior to running.

Removed all of the unused proxy object support that bit rotted in
lldb_private::Value.

Replaced a lot of places that used "FileSpec::Compare (lhs, rhs) == 0" code
with the more efficient "FileSpec::Equal (lhs, rhs)".

Improved logging in GDB remote plug-in.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134579 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
a118f0cbbe9441628715d24db5acd351ba5a0178 10-Feb-2011 Greg Clayton <gclayton@apple.com> Fixed a crasher when enabling logging that is due to the new hijack listener stack changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125269 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
b0cb717846f1b732245c402864987a106dfd28ac 08-Feb-2011 Jim Ingham <jingham@apple.com> Change the Hijacking interposer to a stack of interposers.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125080 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
d266227b24507597b44675adcd0c5f867d84602b 23-Jan-2011 Jim Ingham <jingham@apple.com> A little less noise, please.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
6ae318c875fac58fb2d952739ee554c5ba18368f 23-Jan-2011 Jim Ingham <jingham@apple.com> Add some more logging of broadcaster and Process. Also, protect the event broadcasting against hijacking in mid-event delivery.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
e5001f50d6978b15e6957c1834412256054edafa 22-Dec-2010 Johnny Chen <johnny.chen@apple.com> Broadcaster::AddListener(): Bail out early if the passed in Listener pointer is
NULL, instead of registering a NULL listener and to crash later.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122429 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
e005f2ce03c489ebde9110678a29cbfe8488d5b4 06-Nov-2010 Greg Clayton <gclayton@apple.com> Modified all logging calls to hand out shared pointers to make sure we
don't crash if we disable logging when some code already has a copy of the
logger. Prior to this fix, logs were handed out as pointers and if they were
held onto while a log got disabled, then it could cause a crash. Now all logs
are handed out as shared pointers so this problem shouldn't happen anymore.
We are also using our new shared pointers that put the shared pointer count
and the object into the same allocation for a tad better performance.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@118319 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
49ce682dfa7993d31206cea19ce7006cd3f3077e 31-Oct-2010 Greg Clayton <gclayton@apple.com> Cleaned up the API logging a lot more to reduce redundant information and
keep the file size a bit smaller.

Exposed SBValue::GetExpressionPath() so SBValue users can get an expression
path for their values.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117851 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
63e24d7aeae8a7feb2aae0581e597b922749d4a1 12-Oct-2010 Jim Ingham <jingham@apple.com> Add a way to temporarily divert events from a broadcaster to a private listener.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116271 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp
24943d2ee8bfaa7cf5893e4709143924157a5c1e 08-Jun-2010 Chris Lattner <sabre@nondot.org> Initial checkin of lldb code from internal Apple repo.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@105619 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Core/Broadcaster.cpp