Title: [212817] trunk/Source/WTF
Revision
212817
Author
[email protected]
Date
2017-02-22 00:55:30 -0800 (Wed, 22 Feb 2017)

Log Message

Fix ASAN build after activating libwebrtc.

* wtf/Ref.h:
__asan_address_is_poisoned returns an int, not a bool.
This didn't cause a problem before because we didn't include the real definition anywhere,
but libwebrtc includes <sanitizer/asan_interface.h> directly now so the return types need to be correct.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (212816 => 212817)


--- trunk/Source/WTF/ChangeLog	2017-02-22 08:33:41 UTC (rev 212816)
+++ trunk/Source/WTF/ChangeLog	2017-02-22 08:55:30 UTC (rev 212817)
@@ -1,3 +1,12 @@
+2017-02-22  Alex Christensen  <[email protected]>
+
+        Fix ASAN build after activating libwebrtc.
+
+        * wtf/Ref.h:
+        __asan_address_is_poisoned returns an int, not a bool.
+        This didn't cause a problem before because we didn't include the real definition anywhere,
+        but libwebrtc includes <sanitizer/asan_interface.h> directly now so the return types need to be correct.
+
 2017-02-22  Carlos Garcia Campos  <[email protected]>
 
         [GTK] Test fast/events/message-port-postMessage-recursive.html times out

Modified: trunk/Source/WTF/wtf/Ref.h (212816 => 212817)


--- trunk/Source/WTF/wtf/Ref.h	2017-02-22 08:33:41 UTC (rev 212816)
+++ trunk/Source/WTF/wtf/Ref.h	2017-02-22 08:55:30 UTC (rev 212817)
@@ -35,7 +35,7 @@
 #if ASAN_ENABLED
 extern "C" void __asan_poison_memory_region(void const volatile *addr, size_t size);
 extern "C" void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
-extern "C" bool __asan_address_is_poisoned(void const volatile *addr);
+extern "C" int __asan_address_is_poisoned(void const volatile *addr);
 #endif
 
 namespace WTF {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to