OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // This file contains the default options for various compiler-based dynamic | 5 // This file contains the default options for various compiler-based dynamic |
6 // tools. | 6 // tools. |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 // Functions returning default options are declared weak in the tools' runtime | 10 // Functions returning default options are declared weak in the tools' runtime |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 __attribute__((no_sanitize_thread)) | 110 __attribute__((no_sanitize_thread)) |
111 __attribute__((visibility("default"))) | 111 __attribute__((visibility("default"))) |
112 // The function isn't referenced from the executable itself. Make sure it isn't | 112 // The function isn't referenced from the executable itself. Make sure it isn't |
113 // stripped by the linker. | 113 // stripped by the linker. |
114 __attribute__((used)) | 114 __attribute__((used)) |
115 const char *__tsan_default_suppressions() { | 115 const char *__tsan_default_suppressions() { |
116 return kTSanDefaultSuppressions; | 116 return kTSanDefaultSuppressions; |
117 } | 117 } |
118 | 118 |
119 #endif // THREAD_SANITIZER && OS_LINUX | 119 #endif // THREAD_SANITIZER && OS_LINUX |
OLD | NEW |