Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: third_party/WebKit/Source/wtf/AddressSanitizer.h

Issue 2390553002: Remove NO_LAZY_SWEEP_SANITIZE_ADDRESS (Closed)
Patch Set: temp Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef WTF_AddressSanitizer_h 5 #ifndef WTF_AddressSanitizer_h
6 #define WTF_AddressSanitizer_h 6 #define WTF_AddressSanitizer_h
7 // TODO(kojii): This file will need to be renamed, because it's no more 7 // TODO(kojii): This file will need to be renamed, because it's no more
8 // specific to AddressSanitizer. 8 // specific to AddressSanitizer.
9 9
10 #include "wtf/build_config.h" 10 #include "wtf/build_config.h"
(...skipping 16 matching lines...) Expand all
27 #if defined(MEMORY_SANITIZER) 27 #if defined(MEMORY_SANITIZER)
28 #include <sanitizer/msan_interface.h> 28 #include <sanitizer/msan_interface.h>
29 #endif 29 #endif
30 30
31 // TODO(sof): Have to handle (ADDRESS_SANITIZER && _WIN32) differently as it 31 // TODO(sof): Have to handle (ADDRESS_SANITIZER && _WIN32) differently as it
32 // uses both Clang (which supports the __attribute__ syntax) and CL (which 32 // uses both Clang (which supports the __attribute__ syntax) and CL (which
33 // doesn't) as long as we use "clang-cl /fallback". This shouldn't be needed 33 // doesn't) as long as we use "clang-cl /fallback". This shouldn't be needed
34 // when Clang handles all the code without falling back to CL. 34 // when Clang handles all the code without falling back to CL.
35 #if defined(ADDRESS_SANITIZER) && (!OS(WIN) || COMPILER(CLANG)) 35 #if defined(ADDRESS_SANITIZER) && (!OS(WIN) || COMPILER(CLANG))
36 #define NO_SANITIZE_ADDRESS __attribute__((no_sanitize_address)) 36 #define NO_SANITIZE_ADDRESS __attribute__((no_sanitize_address))
37 #define NO_LAZY_SWEEP_SANITIZE_ADDRESS NO_SANITIZE_ADDRESS
38 #else 37 #else
39 #define NO_SANITIZE_ADDRESS 38 #define NO_SANITIZE_ADDRESS
40 #define NO_LAZY_SWEEP_SANITIZE_ADDRESS
41 #endif 39 #endif
42 40
43 #if defined(MEMORY_SANITIZER) && (!OS(WIN) || COMPILER(CLANG)) 41 #if defined(MEMORY_SANITIZER) && (!OS(WIN) || COMPILER(CLANG))
44 #define NO_SANITIZE_MEMORY __attribute__((no_sanitize_memory)) 42 #define NO_SANITIZE_MEMORY __attribute__((no_sanitize_memory))
45 #else 43 #else
46 #define NO_SANITIZE_MEMORY 44 #define NO_SANITIZE_MEMORY
47 #endif 45 #endif
48 46
49 #if defined(THREAD_SANITIZER) && (!OS(WIN) || COMPILER(CLANG)) 47 #if defined(THREAD_SANITIZER) && (!OS(WIN) || COMPILER(CLANG))
50 #define NO_SANITIZE_THREAD __attribute__((no_sanitize_thread)) 48 #define NO_SANITIZE_THREAD __attribute__((no_sanitize_thread))
51 #else 49 #else
52 #define NO_SANITIZE_THREAD 50 #define NO_SANITIZE_THREAD
53 #endif 51 #endif
54 52
55 #endif // WTF_AddressSanitizer_h 53 #endif // WTF_AddressSanitizer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/heap/PersistentNode.h ('k') | third_party/WebKit/Source/wtf/LinkedHashSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698