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

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

Issue 141713008: Use new ASAN APIs for scanning ASAN fake stacks during garbage collection. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and disable strict finalization checking. Created 6 years, 9 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 | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/ThreadState.h
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h
index 0f650d2fa0520bd48b40a03a11fc5f50676bb2dc..4355a8b691c6a997847fedc83b9d9d138ba97364 100644
--- a/Source/platform/heap/ThreadState.h
+++ b/Source/platform/heap/ThreadState.h
@@ -478,6 +478,10 @@ public:
// Visit local thread stack and trace all pointers conservatively.
void visitStack(Visitor*);
+ // Visit the asan fake stack frame corresponding to a slot on the
+ // real machine stack if there is one.
+ void visitAsanFakeStackForPointer(Visitor*, Address);
+
// Visit all persistents allocated on this thread.
void visitPersistents(Visitor*);
@@ -565,6 +569,10 @@ private:
bool m_isCleaningUp;
CallbackStack* m_weakCallbackStack;
+
+#if defined(ADDRESS_SANITIZER) && !OS(WIN)
+ void* m_asanFakeStack;
+#endif
};
template<ThreadAffinity affinity> class ThreadStateFor;
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698