[Webkit-unassigned] [Bug 216746] New: Enable AddressSanitizer in C++ std library templates

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 20 10:47:50 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216746

            Bug ID: 216746
           Summary: Enable AddressSanitizer in C++ std library templates
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: ap at webkit.org, darin at apple.com, dino at apple.com,
                    kkinnunen at apple.com, peng.liu6 at apple.com,
                    ryanhaddad at apple.com, youennf at gmail.com
        Depends on: 216318

Enable AddressSanitizer in C++ std library templates.

This amounts to undefining the _LIBCPP_HAS_NO_ASAN macro when building.

Although most of WebKit doesn't used C++ std library types like std::vector or std::hash, ANGLE and libwebrtc do use these types, so it's beneficial to enable AddressSanitizer in these cases when compiling with Asan enabled for the rest of WebKit.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=216318
[Bug 216318] WebKit should support building with clang ThreadSanitizer enabled
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200920/48059077/attachment-0001.htm>


More information about the webkit-unassigned mailing list