Add support for MSan
Add third_party/instrumented_libraries to setup_links.py Add tools/msan/blacklist.txt which is the default location used by MSan. These changes are prerequisites to be able to use MSan with WebRTC. To use it, one must also run: sudo third_party/instrumented_libraries/install-build-deps.sh to get the instrumented libraries installed (requires /etc/apt/sources.list to be setup with deb-src entries). NOTICE: Compilation is not yet working, but with this we can setup a FYI bot to work with. BUG=chromium:416871 TESTED=gclient sync + generate projects using: GYP_DEFINES='msan=1 use_instrumented_libraries=1 instrumented_libraries_jobs=20' webrtc/build/gyp_webrtc Built successfully in Release and ran a couple of tests (some crashed, some passed). R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25649004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7352 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
afefed5c93
commit
4e4fe4f9ae
1
.gitignore
vendored
1
.gitignore
vendored
@ -73,6 +73,7 @@
|
|||||||
/third_party/gflags/src
|
/third_party/gflags/src
|
||||||
/third_party/google-visualization-python
|
/third_party/google-visualization-python
|
||||||
/third_party/icu
|
/third_party/icu
|
||||||
|
/third_party/instrumented_libraries
|
||||||
/third_party/jsoncpp
|
/third_party/jsoncpp
|
||||||
/third_party/jsr-305
|
/third_party/jsr-305
|
||||||
/third_party/junit
|
/third_party/junit
|
||||||
|
@ -43,6 +43,7 @@ DIRECTORIES = [
|
|||||||
'third_party/drmemory',
|
'third_party/drmemory',
|
||||||
'third_party/expat',
|
'third_party/expat',
|
||||||
'third_party/icu',
|
'third_party/icu',
|
||||||
|
'third_party/instrumented_libraries',
|
||||||
'third_party/jsoncpp',
|
'third_party/jsoncpp',
|
||||||
'third_party/libc++',
|
'third_party/libc++',
|
||||||
'third_party/libc++abi',
|
'third_party/libc++abi',
|
||||||
|
1
tools/msan/OWNERS
Normal file
1
tools/msan/OWNERS
Normal file
@ -0,0 +1 @@
|
|||||||
|
*
|
12
tools/msan/blacklist.txt
Normal file
12
tools/msan/blacklist.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# The rules in this file are only applied at compile time.
|
||||||
|
# Because the Chrome buildsystem does not automatically touch the files
|
||||||
|
# mentioned here, changing this file requires clobbering all MSan bots.
|
||||||
|
#
|
||||||
|
# Please think twice before you add or remove these rules.
|
||||||
|
|
||||||
|
# This is a stripped down copy of Chromium's blacklist.txt, to enable
|
||||||
|
# adding WebRTC-specific blacklist entries.
|
||||||
|
|
||||||
|
# Uninit in zlib. http://crbug.com/116277
|
||||||
|
fun:*MOZ_Z_deflate*
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user