[BOLT][UTILS] Usability improvements for nfc-check-setup# Stash local changes before checkout.# Print a message that the source repository revision has been changed, with instructions to switch
[BOLT][UTILS] Usability improvements for nfc-check-setup# Stash local changes before checkout.# Print a message that the source repository revision has been changed, with instructions to switch back.# Make the script executable.# Print sample instructions how to run bolt tests.# Assume that llvm-bolt-wrapper script is in the same source directory.Reviewed By: rafaulerDifferential Revision: https://reviews.llvm.org/D126941
show more ...
[BOLT][UTILS] Add dot2html helper tool to embed dot into htmlTo be rendered in browser using d3-graphviz.Example: {F23169510}Reviewed By: rafaulerDifferential Revision: https://reviews.llvm.or
[BOLT][UTILS] Add dot2html helper tool to embed dot into htmlTo be rendered in browser using d3-graphviz.Example: {F23169510}Reviewed By: rafaulerDifferential Revision: https://reviews.llvm.org/D126218
[BOLT] Add nfc-check-setup scriptAdd the script to set up llvm-bolt-wrapper. The intended use is to run NFCchecks manually and automatically on a buildbot.Reviewed By: rafaulerDifferential Rev
[BOLT] Add nfc-check-setup scriptAdd the script to set up llvm-bolt-wrapper. The intended use is to run NFCchecks manually and automatically on a buildbot.Reviewed By: rafaulerDifferential Revision: https://reviews.llvm.org/D118516
[BOLT] Imported llvm-bolt-wrapper scriptCommit history in chronological order:[BOLT] llvm-bolt-wrapper: added wrapper for bolt binary matchingSummary:Wrapper to compare two versions of BOLT to
[BOLT] Imported llvm-bolt-wrapper scriptCommit history in chronological order:[BOLT] llvm-bolt-wrapper: added wrapper for bolt binary matchingSummary:Wrapper to compare two versions of BOLT to see if they produce the same outputbinary given the same input.(cherry picked from FBD26626137)[BOLT] llvm-bolt-wrapper: support for no-output tests and heatmap modeSummary:- Added an option `skip_binary_cmp` to support invocations that don't output a binary- Minor fixes for heatmap mode, timeout, log comparison- Rearranged in-line config example to be copy-pasteable(cherry picked from FBD26822016)[BOLT] llvm-bolt-wrapper: merge stdout/stderr, search for config in script dir(cherry picked from FBD27529335)[BOLT] llvm-bolt-wrapper: handle /dev/nullSummary:Fixed the wrapper to preserve `-o /dev/null` and skip binary matching for suchinvocations.(cherry picked from FBD28013747)[BOLT] llvm-bolt-wrapper: handle cases where output binary doesn't existSummary:Handle invocations where output binary is not generated (e.g. due to an expectedassertion or exit with BOLT-ERROR) and skip binary comparison in such cases.(cherry picked from FBD28080158)[BOLT] llvm-bolt-wrapper: handle boltdiff modeSummary:Handle `llvm-boltdiff` invocation similarly to `perf2bolt`(cherry picked from FBD28080157)[BOLT] llvm-bolt-wrapper: find section with mismatchSummary:For mismatching ELF files, find section with mismatch and print sections tablewith highlighted mismatch section.(cherry picked from FBD28087231)[BOLT] llvm-bolt-wrapper: ignore-build-id in perf2bolt modeSummary:When perf2bolt fails to match build-id from perf output for cmp binary, we needto use -ignore-build-id option to override the strict checking behavior.(cherry picked from FBD28087232)[BOLT] llvm-bolt-wrapper: suppress -bolt-info=0 in heatmap modeSummary:Heatmap mode is incompatible with `-bolt-info=0` used to suppress binarydifferences. Remove it.(cherry picked from FBD28087230)[BOLT] llvm-bolt-wrapper: add config-generator modeSummary:llvm-bolt-wrapper config can be generated by the script itself.It makes the workflow more reliable compared to preparing the config manually.(cherry picked from FBD28358939)[BOLT] llvm-bolt-wrapper: fix mismatch reportingSummary:1. Fixed header comparison issue where headers were skipped due to `skip_end == 0` (`lst[:-n]` does not work if n==0).2. Detect color support while printing mismatching section: - use bold color if terminal supports ANSI escape codes, - otherwise print ">" at mismatching section.3. Remove extra 0x before mismatching offset.(cherry picked from FBD28691979)[BOLT] llvm-bolt-wrapper: handle perf2bolt tests with ignore-build-idSummary:`ignore-build-id` must be passed not more than once. Account for that.(cherry picked from FBD29830266)[BOLT] llvm-bolt-wrapper: fix running subprocesses in parallelSummary:The commands were running sequentially due to the use of blocking `communicate`call, which is needed when stdout/stderr are directed to a pipe.Fix this behavior by directing the output to a file.(cherry picked from FBD29951863)
[BOLT] Update repo location in Dockerfile
[bughunter.sh][NFC] Fix license and file descriptionSummary:Convert bughunter.sh to the new LLVM license and fix file-descriptioncomments.(cherry picked from FBD33298823)
[BOLT] Import bughunter scriptSummary: Import the script and update it to use `-funcs-file-no-regex`(cherry picked from FBD32636025)
[BOLT] Add DockerfileSummary:Dockerfile based on Ubuntu:20.04.Fixes facebookincubator/BOLT#214.(cherry picked from FBD31883210)