From 4e06e4271162ac65a57719398e3b5572de9f5185 Mon Sep 17 00:00:00 2001 From: Steve Harter Date: Thu, 5 Nov 2015 18:41:48 -0600 Subject: Enable CLANG sanitizers for native debug builds --- src/vm/stubmgr.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/vm/stubmgr.h') diff --git a/src/vm/stubmgr.h b/src/vm/stubmgr.h index 8dfb6686ad..d578171985 100644 --- a/src/vm/stubmgr.h +++ b/src/vm/stubmgr.h @@ -193,6 +193,7 @@ typedef VPTR(class StubManager) PTR_StubManager; class StubManager { +#ifndef CROSSGEN_COMPILE friend class StubManagerIterator; VPTR_BASE_VTABLE_CLASS(StubManager) @@ -326,6 +327,7 @@ private: PTR_StubManager m_pNextManager; static CrstStatic s_StubManagerListCrst; +#endif // !CROSSGEN_COMPILE }; // ------------------------------------------------------- @@ -375,6 +377,8 @@ class LockedRangeList : public RangeList SimpleRWLock m_RangeListRWLock; }; +#ifndef CROSSGEN_COMPILE + //----------------------------------------------------------- // Stub manager for the prestub. Although there is just one, it has // unique behavior so it gets its own stub manager. @@ -991,4 +995,5 @@ public: }; -#endif +#endif // !CROSSGEN_COMPILE +#endif // !__stubmgr_h__ -- cgit v1.2.3