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

Unified Diff: Source/platform/heap/Handle.h

Issue 1215153002: Add ASan lazy sweep annotations to allow Persistent<> creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: Source/platform/heap/Handle.h
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
index 10aeace32db59e50b21e725505b4eed274530250..d82130f5cee07688a9386463303fd5c2fe7aa145 100644
--- a/Source/platform/heap/Handle.h
+++ b/Source/platform/heap/Handle.h
@@ -287,6 +287,7 @@ public:
T* get() const { return m_raw; }
private:
+ NO_LAZY_SWEEP_SANITIZE_ADDRESS
void initialize()
{
ThreadState* state = ThreadStateFor<ThreadingTrait<T>::Affinity>::state();
@@ -485,6 +486,7 @@ public:
T* get() const { return m_raw; }
private:
+ NO_LAZY_SWEEP_SANITIZE_ADDRESS
void initialize()
{
MutexLocker m_locker(ThreadState::globalRootsMutex());
@@ -576,6 +578,7 @@ public:
}
private:
+ NO_LAZY_SWEEP_SANITIZE_ADDRESS
void initialize()
{
ThreadState* state = ThreadState::current();
« 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