OLD | NEW |
---|---|
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 declare_args() { | 5 declare_args() { |
6 # Track where uninitialized memory originates from. From fastest to slowest: | 6 # Track where uninitialized memory originates from. From fastest to slowest: |
7 # 0 - no tracking, 1 - track only the initial allocation site, 2 - track the | 7 # 0 - no tracking, 1 - track only the initial allocation site, 2 - track the |
8 # chain of stores leading from allocation site to use site. | 8 # chain of stores leading from allocation site to use site. |
9 msan_track_origins = 2 | 9 msan_track_origins = 2 |
10 | 10 |
11 # Use dynamic libraries instrumented by one of the sanitizers instead of the | 11 # Use dynamic libraries instrumented by one of the sanitizers instead of the |
12 # standard system libraries. Set this flag to download prebuilt binaries from | 12 # standard system libraries. Set this flag to download prebuilt binaries from |
13 # GCS. | 13 # GCS. |
14 use_prebuilt_instrumented_libraries = false | 14 use_prebuilt_instrumented_libraries = false |
15 | |
16 # Use libc++ (buildtools/third_party/libc++ and | |
17 # buildtools/third_party/libc++abi) instead of stdlibc++ as standard library. | |
18 # This is intended to use for instrumented builds. | |
earthdok
2015/05/25 15:28:00
Please fix the wording here ("intended to be used"
Sam McNally
2015/05/26 01:15:00
Done.
| |
19 use_custom_libcxx = (is_asan && is_desktop_linux) || is_tsan || is_msan | |
Alexander Potapenko
2015/05/25 08:27:18
Is 'is_desktop_linux' in GN the same as 'OS=="linu
Sam McNally
2015/05/25 08:31:22
Yes. It's defined in https://code.google.com/p/chr
earthdok
2015/05/25 15:28:00
This is disabled on CrOS because of GYP-related is
Sam McNally
2015/05/26 01:15:00
Done.
| |
15 } | 20 } |
OLD | NEW |