Commit be22e146 by Jim Stichnoth

Subzero: Change szbuild.py to prefer Subzero by default.

Subzero translation is stable enough that szbuild.py should prefer Subzero-translated symbols by default. The exception is that if you explicitly use --include, the intuitive interpretation is that you only want Subzero to include those symbols (minus any given with --exclude). BUG= none R=jvoung@chromium.org Review URL: https://codereview.chromium.org/605283002
parent b56c8f42
...@@ -219,9 +219,9 @@ def ProcessPexe(args, pexe, exe): ...@@ -219,9 +219,9 @@ def ProcessPexe(args, pexe, exe):
re_include = re.compile(re_include_str) re_include = re.compile(re_include_str)
re_exclude = re.compile(re_exclude_str) re_exclude = re.compile(re_exclude_str)
# If a symbol doesn't explicitly match re_include or re_exclude, # If a symbol doesn't explicitly match re_include or re_exclude,
# the default MatchSymbol() result is False, unless some --exclude # the default MatchSymbol() result is True, unless some --include
# args are provided and no --include args are provided. # args are provided.
default_match = len(args.exclude) and not len(args.include) default_match = not len(args.include)
whitelist_has_items = False whitelist_has_items = False
with open(whitelist_sz_unescaped, 'w') as f: with open(whitelist_sz_unescaped, 'w') as f:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment