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

Unified Diff: third_party/WebKit/Source/platform/heap/Heap.h

Issue 1695493002: Have ASan ignore ObjectAliveTrait<>::isHeapObjectAlive() applied to mixins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/Heap.h
diff --git a/third_party/WebKit/Source/platform/heap/Heap.h b/third_party/WebKit/Source/platform/heap/Heap.h
index 9a6a940fcb780d4c50fdbde798939204ab1aea73..34f7674164b7df711683d375bbf7826730c1074d 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.h
+++ b/third_party/WebKit/Source/platform/heap/Heap.h
@@ -67,6 +67,7 @@ template<typename T>
class ObjectAliveTrait<T, true> {
STATIC_ONLY(ObjectAliveTrait);
public:
+ NO_LAZY_SWEEP_SANITIZE_ADDRESS
static bool isHeapObjectAlive(T* object)
{
static_assert(sizeof(T), "T must be fully defined");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698