Bug 1520151: Fix ASAN builds. r=froydnj
authorDave Townsend <dtownsend@oxymoronical.com>
Tue, 15 Jan 2019 22:09:33 +0000
changeset 513981 b9a450416f051fa67283158076231a1ead46ba1d
parent 513980 903466ee22ee9019b7c26f978fc8b676f12339fb
child 513982 2d7f5838e68fbac83742ee5c52d3c7ebf2a7315b
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1520151
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1520151: Fix ASAN builds. r=froydnj Differential Revision: https://phabricator.services.mozilla.com/D16606
toolkit/xre/nsEmbedFunctions.cpp
--- a/toolkit/xre/nsEmbedFunctions.cpp
+++ b/toolkit/xre/nsEmbedFunctions.cpp
@@ -33,16 +33,19 @@
 #include "nsAutoRef.h"
 #include "nsDirectoryServiceDefs.h"
 #include "nsExceptionHandler.h"
 #include "nsString.h"
 #include "nsThreadUtils.h"
 #include "nsJSUtils.h"
 #include "nsWidgetsCID.h"
 #include "nsXREDirProvider.h"
+#ifdef MOZ_ASAN_REPORTER
+#include "CmdLineAndEnvUtils.h"
+#endif
 #include "ThreadAnnotation.h"
 
 #include "mozilla/Omnijar.h"
 #if defined(XP_MACOSX)
 #include "nsVersionComparator.h"
 #include "chrome/common/mach_ipc_mac.h"
 #endif
 #include "nsX11ErrorHandler.h"