Bug 195956

Summary: [CMake] Support more clang and gcc sanitizers
Product: WebKit Reporter: Christopher Reid <chris.reid>
Component: CMakeAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: annulen, commit-queue, don.olmstead, jbedard, mcatanzaro, ross.kirsling, stephan.szabo, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch for landing none

Christopher Reid
Reported 2019-03-19 11:21:29 PDT
WebKitCompilerFlags.cmake currently only supports asan. We should support compiling with other sanitizers like ubsan, thread, memory, and leak.
Attachments
Patch (4.98 KB, patch)
2019-03-19 13:48 PDT, Christopher Reid
no flags
Patch (5.00 KB, patch)
2019-03-19 14:00 PDT, Christopher Reid
no flags
Patch for landing (6.59 KB, patch)
2019-03-19 15:31 PDT, Christopher Reid
no flags
Christopher Reid
Comment 1 2019-03-19 13:48:06 PDT
Christopher Reid
Comment 2 2019-03-19 14:00:32 PDT
Michael Catanzaro
Comment 3 2019-03-19 14:09:25 PDT
Comment on attachment 365227 [details] Patch Please check Tools/Scripts and fix up any existing uses of ENABLE_ADDRESS_SANITIZER there. We have e.g. set-webkit-configuration --asan that will be broken by this change.
Christopher Reid
Comment 4 2019-03-19 15:31:19 PDT
Created attachment 365243 [details] Patch for landing
WebKit Commit Bot
Comment 5 2019-03-19 16:34:09 PDT
Comment on attachment 365243 [details] Patch for landing Clearing flags on attachment: 365243 Committed r243179: <https://trac.webkit.org/changeset/243179>
WebKit Commit Bot
Comment 6 2019-03-19 16:34:10 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.