| 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 be used for instrumented builds. |
| 19 use_custom_libcxx = (is_asan && is_linux) || is_tsan || is_msan |
| 15 } | 20 } |
| OLD | NEW |