Bug 1312883 - MOZ_THREADSTACKHELPER_NATIVE should only be true on Windows. r=jchen
☠☠ backed out by 25b45d519a90 ☠ ☠
authorMike Conley <mconley@mozilla.com>
Fri, 10 Feb 2017 10:35:44 -0500
changeset 373740 42f0a217197da34ca4371b8f3aa32dc06249f520
parent 373739 ab163e43086d259dc6b9884707987a043a4308db
child 373741 d6b3328c9573b41782a444ed610da4b71c7e0b37
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjchen
bugs1312883
milestone54.0a1
Bug 1312883 - MOZ_THREADSTACKHELPER_NATIVE should only be true on Windows. r=jchen MozReview-Commit-ID: 3gf5FcnUUwa
xpcom/threads/ThreadStackHelper.h
--- a/xpcom/threads/ThreadStackHelper.h
+++ b/xpcom/threads/ThreadStackHelper.h
@@ -24,17 +24,17 @@
 
 // Support pseudostack on these platforms.
 #if defined(XP_LINUX) || defined(XP_WIN) || defined(XP_MACOSX)
 #  ifdef MOZ_GECKO_PROFILER
 #    define MOZ_THREADSTACKHELPER_PSEUDO
 #  endif
 #endif
 
-#ifdef MOZ_THREADSTACKHELPER_PSEUDO
+#if defined(MOZ_THREADSTACKHELPER_PSEUDO) && defined(XP_WIN)
 #  define MOZ_THREADSTACKHELPER_NATIVE
 #  if defined(__i386__) || defined(_M_IX86)
 #    define MOZ_THREADSTACKHELPER_X86
 #  elif defined(__x86_64__) || defined(_M_X64)
 #    define MOZ_THREADSTACKHELPER_X64
 #  elif defined(__arm__) || defined(_M_ARM)
 #    define MOZ_THREADSTACKHELPER_ARM
 #  else