Package merge-fdata
This is a utility tool for merging BOLT profiles.
Test: presubmit
Bug: 219872481
Change-Id: I4831949d7bc5ef44b621d0491d8119dd4c132777
diff --git a/do_build.py b/do_build.py
index 2182185..cd84b02 100755
--- a/do_build.py
+++ b/do_build.py
@@ -363,6 +363,7 @@
'llvm-strip' + ext,
'llvm-symbolizer' + ext,
'llvm-windres' + ext,
+ 'merge-fdata' + ext,
'sancov' + ext,
'sanstats' + ext,
'scan-build' + ext,
@@ -381,6 +382,7 @@
'clang-' + version.major_version() + ext,
'clangd' + ext,
'llvm-bolt' + ext,
+ 'merge-fdata' + ext,
'scan-build' + ext,
'scan-view' + ext,
}
@@ -389,9 +391,12 @@
# scripts that should not be stripped
script_bins = {
'git-clang-format',
+ 'lldb' + script_ext,
+ # merge-fdata is built with relocation, strip -S would fail. Treat it as
+ # a script and do not strip as a workaround.
+ 'merge-fdata' + ext,
'scan-build',
'scan-view',
- 'lldb' + script_ext,
}
bin_dir = install_dir / 'bin'