Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: tools/clang/scripts/update.py

Issue 2709613004: upload clang pdbs to chrome's symbol server (Closed)
Patch Set: comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/clang/scripts/package.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/scripts/update.py
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py
index 2dfef6f4efdcb9e77d2683934559bd7eaf964948..2792aac9e91aedca9052b561bfe60f22531a903d 100755
--- a/tools/clang/scripts/update.py
+++ b/tools/clang/scripts/update.py
@@ -619,6 +619,13 @@ def UpdateClang(args):
cflags += ['-DLLVM_FORCE_HEAD_REVISION']
cxxflags += ['-DLLVM_FORCE_HEAD_REVISION']
+ # Build PDBs for archival on Windows. Don't use RelWithDebInfo since it
+ # has different optimization defaults than Release.
+ if sys.platform == 'win32' and args.bootstrap:
+ cflags += ['/Zi']
+ cxxflags += ['/Zi']
+ ldflags += ['/DEBUG', '/OPT:REF', '/OPT:ICF']
+
CreateChromeToolsShim()
deployment_env = None
« no previous file with comments | « tools/clang/scripts/package.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698