summaryrefslogtreecommitdiffstats
path: root/chrome/common_constants.gypi
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-23 01:48:08 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-23 01:48:08 +0000
commitce53c9e6d9b9211f853e0d6f426a12b0bab6a875 (patch)
treeb3442d07d630c501138f2dd159a74d9f85a7b0f5 /chrome/common_constants.gypi
parent12a601cb8b1fdbbb630ab86063f9e6f36125027c (diff)
downloadchromium_src-ce53c9e6d9b9211f853e0d6f426a12b0bab6a875.zip
chromium_src-ce53c9e6d9b9211f853e0d6f426a12b0bab6a875.tar.gz
chromium_src-ce53c9e6d9b9211f853e0d6f426a12b0bab6a875.tar.bz2
Use the /INCLUDE:symbol linker option pragmas to force
references to the magic variables we added to the data segment for TLS callbacks. The references prevent whole program optimization from optimizing away those variables. This requires three changes: 1) the variables cannot be declared as static. 2) the variables must be declared extern "C" to suppress C++ name mangling. 3) the variables cannot have the same name. R=jar,maruel BUG=40663 TEST=none Review URL: http://codereview.chromium.org/1752004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45405 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common_constants.gypi')
0 files changed, 0 insertions, 0 deletions