projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f81f15a
)
I had a problem with one SDK where dispatch_release was actually a
author
Jason Molenda
<jmolenda@apple.com>
Thu, 8 Sep 2016 02:29:40 +0000
(
02:29
+0000)
committer
Jason Molenda
<jmolenda@apple.com>
Thu, 8 Sep 2016 02:29:40 +0000
(
02:29
+0000)
macro, so writing ::dispatch_release did not work as expected.
Remove the global anon namespace :: designation; the header will
get us the correct declaration.
llvm-svn: 280903
lldb/source/Host/macosx/Host.mm
patch
|
blob
|
history
diff --git
a/lldb/source/Host/macosx/Host.mm
b/lldb/source/Host/macosx/Host.mm
index 01231ce27923848fee658f8ccfb88cbc52d09c4a..c1b8f6e1865beba2ea04b8ba90310b60efebe5b1 100644
(file)
--- a/
lldb/source/Host/macosx/Host.mm
+++ b/
lldb/source/Host/macosx/Host.mm
@@
-1410,7
+1410,7
@@
HostThread Host::StartMonitoringChildProcess(
if (source) {
Host::MonitorChildProcessCallback callback_copy = callback;
::dispatch_source_set_cancel_handler(source, ^{
-
::
dispatch_release(source);
+ dispatch_release(source);
});
::dispatch_source_set_event_handler(source, ^{