Commit 09ec13ee authored by Peter Collingbourne's avatar Peter Collingbourne Committed by Commit Bot

clang: Add llvm-pdbutil and llvm-undname to package.

These programs will be used to extract resource whitelists from PDBs.

Not creating a new package because llvm-undname at our pinned revision
cannot demangle resource whitelist function names without crashing.

Bug: 684788
Change-Id: I75bb11abcaca456adbea53799359a3259b942b17
Reviewed-on: https://chromium-review.googlesource.com/1180646Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584558}
parent 5a0e78e4
......@@ -230,7 +230,9 @@ def main():
# Copy a whitelist of files to the directory we're going to tar up.
# This supports the same patterns that the fnmatch module understands.
exe_ext = '.exe' if sys.platform == 'win32' else ''
want = ['bin/llvm-symbolizer' + exe_ext,
want = ['bin/llvm-pdbutil' + exe_ext,
'bin/llvm-symbolizer' + exe_ext,
'bin/llvm-undname' + exe_ext,
'bin/sancov' + exe_ext,
# Copy built-in headers (lib/clang/3.x.y/include).
'lib/clang/*/include/*',
......@@ -300,7 +302,12 @@ def main():
os.path.splitext(f)[1] in ['.so', '.a']):
subprocess.call([EU_STRIP, '-g', dest])
stripped_binaries = ['clang', 'llvm-symbolizer', 'sancov']
stripped_binaries = ['clang',
'llvm-pdbutil',
'llvm-symbolizer',
'llvm-undname',
'sancov',
]
if sys.platform.startswith('linux'):
stripped_binaries.append('lld')
stripped_binaries.append('llvm-ar')
......
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