Bug 1377651 Make vtune variable non-static so it may be used in a non-static function r=sstangl

MozReview-Commit-ID: IlpSsMH7mq0

--HG--
extra : rebase_source : 58deeaba9ae5ddd3672d03e505840f01483f505b
This commit is contained in:
Tom Ritter 2017-07-05 07:12:45 -05:00
parent e26154b0cb
commit f6b7696c2d
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ Additionally, the following changes should be propagated:
or Ubuntu shell builds will randomly crash on startup.
- With weak attributes removed, DL_SYMBOLS and PTHREAD_SYMBOLS should
be defined as "(1)" to avoid -Waddress warnings.
- Per Bug 1377651, the __itt_null variable in ittnotify.h should be
made non-static, so it can be used in a non-static function.
If the license has changed, update the "VTune License" section of
toolkit/content/license.html

View File

@ -1812,7 +1812,7 @@ typedef struct ___itt_id
#pragma pack(pop)
/** @endcond */
static const __itt_id __itt_null = { 0, 0, 0 };
const __itt_id __itt_null = { 0, 0, 0 };
/**
* @ingroup ids