⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 212817 in webkit


Ignore:
Timestamp:
Feb 22, 2017, 12:55:30 AM (10 years ago)
Author:
achristensen@apple.com
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.

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r212814 r212817  
     12017-02-22  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix ASAN build after activating libwebrtc.
     4
     5        * wtf/Ref.h:
     6        __asan_address_is_poisoned returns an int, not a bool.
     7        This didn't cause a problem before because we didn't include the real definition anywhere,
     8        but libwebrtc includes <sanitizer/asan_interface.h> directly now so the return types need to be correct.
     9
    1102017-02-22  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • trunk/Source/WTF/wtf/Ref.h

    r210758 r212817  
    3636extern "C" void __asan_poison_memory_region(void const volatile *addr, size_t size);
    3737extern "C" void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
    38 extern "C" bool __asan_address_is_poisoned(void const volatile *addr);
     38extern "C" int __asan_address_is_poisoned(void const volatile *addr);
    3939#endif
    4040
Note: See TracChangeset for help on using the changeset viewer.