summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/tools')
-rwxr-xr-xchrome/tools/build/win/syzygy_instrument.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/tools/build/win/syzygy_instrument.py b/chrome/tools/build/win/syzygy_instrument.py
index 2454da7..75eaf2d 100755
--- a/chrome/tools/build/win/syzygy_instrument.py
+++ b/chrome/tools/build/win/syzygy_instrument.py
@@ -78,6 +78,9 @@ def _InstrumentBinary(syzygy_dir, mode, executable, symbol, dst_dir,
'--output-pdb=%s' % os.path.abspath(
os.path.join(dst_dir, os.path.basename(symbol)))]
+ if mode == "asan":
+ cmd.append('--no-augment-pdb')
+
# If a filter was specified then pass it on to the instrumenter.
if filter_file:
cmd.append('--filter=%s' % os.path.abspath(filter_file))