Author: jmolenda
Date: Wed Sep  7 21:29:40 2016
New Revision: 280903

URL: http://llvm.org/viewvc/llvm-project?rev=280903&view=rev
Log:
I had a problem with one SDK where dispatch_release was actually a
macro, so writing ::dispatch_release did not work as expected.
Remove the global anon namespace :: designation; the header will
get us the correct declaration.

Modified:
    lldb/trunk/source/Host/macosx/Host.mm

Modified: lldb/trunk/source/Host/macosx/Host.mm
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Host.mm?rev=280903&r1=280902&r2=280903&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Wed Sep  7 21:29:40 2016
@@ -1410,7 +1410,7 @@ HostThread Host::StartMonitoringChildPro
   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, ^{
 


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to