summaryrefslogtreecommitdiffstats
path: root/chrome/app/app_asan.saves
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 15:34:00 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 15:34:00 +0000
commit5a5d97aa22829130bad6a4d24ebddf4ff262b704 (patch)
tree129d8be88e63f72b613d83e8f832549195ade0c3 /chrome/app/app_asan.saves
parent63fa495a1d980f518c8d3b3e6adb2ae3bec6233b (diff)
downloadchromium_src-5a5d97aa22829130bad6a4d24ebddf4ff262b704.zip
chromium_src-5a5d97aa22829130bad6a4d24ebddf4ff262b704.tar.gz
chromium_src-5a5d97aa22829130bad6a4d24ebddf4ff262b704.tar.bz2
If the 'asan' GYP variable is set to 1 on Mac, do not strip the __asan_init symbol from the binaries.
Review URL: http://codereview.chromium.org/7828043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/app_asan.saves')
-rw-r--r--chrome/app/app_asan.saves20
1 files changed, 20 insertions, 0 deletions
diff --git a/chrome/app/app_asan.saves b/chrome/app/app_asan.saves
new file mode 100644
index 0000000..1b5207b
--- /dev/null
+++ b/chrome/app/app_asan.saves
@@ -0,0 +1,20 @@
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This file lists symbols that should not be stripped from the Mac browser and
+# helper app executables built with AddressSanitizer
+# (http://dev.chromium.org/developers/testing/addresssanitizer).
+
+# The list of Chromium application-specific symbols should be the same as that
+# in chrome/app/app.saves
+# The list of symbols that should be preserved in all the binaries built with
+# AddressSanitizer should correspond to build/asan.saves
+
+# Chromium-specific symbols.
+_main
+_NXArgc
+_NXArgv
+
+# AddressSanitizer-specific symbols.
+___asan_init