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; |