Greg Clayton
1117795eaf
Fixed a crasher when enabling logging that is due to the new hijack listener stack changes.
...
llvm-svn: 125269
2011-02-10 06:51:22 +00:00
Jim Ingham
c4f4f72137
Change the Hijacking interposer to a stack of interposers.
...
llvm-svn: 125080
2011-02-08 05:16:50 +00:00
Jim Ingham
dfac4ccdb7
A little less noise, please.
...
llvm-svn: 124086
2011-01-23 21:20:20 +00:00
Jim Ingham
1e7a9ee7d0
Add some more logging of broadcaster and Process. Also, protect the event broadcasting against hijacking in mid-event delivery.
...
llvm-svn: 124084
2011-01-23 21:14:08 +00:00
Johnny Chen
d161a85700
Broadcaster::AddListener(): Bail out early if the passed in Listener pointer is
...
NULL, instead of registering a NULL listener and to crash later.
llvm-svn: 122429
2010-12-22 19:29:31 +00:00
Greg Clayton
2d4edfbc6a
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.
llvm-svn: 118319
2010-11-06 01:53:30 +00:00
Greg Clayton
cfd1aced7e
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.
llvm-svn: 117851
2010-10-31 03:01:06 +00:00
Jim Ingham
30f9b21bf4
Add a way to temporarily divert events from a broadcaster to a private listener.
...
llvm-svn: 116271
2010-10-11 23:53:14 +00:00
Chris Lattner
30fdc8d841
Initial checkin of lldb code from internal Apple repo.
...
llvm-svn: 105619
2010-06-08 16:52:24 +00:00