[all-commits] [llvm/llvm-project] fc0ced: Add BAT testing framework
Rafael Auler via All-commits
all-commits at lists.llvm.org
Fri Jul 29 14:56:33 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc0ced73dc8f53b49a21b53bf5bcbc25d33d698e
https://github.com/llvm/llvm-project/commit/fc0ced73dc8f53b49a21b53bf5bcbc25d33d698e
Author: Rafael Auler <rafaelauler at fb.com>
Date: 2022-07-29 (Fri, 29 Jul 2022)
Changed paths:
M bolt/include/bolt/Profile/BoltAddressTranslation.h
M bolt/lib/Passes/ValidateInternalCalls.cpp
M bolt/lib/Profile/BoltAddressTranslation.cpp
M bolt/lib/Profile/DataAggregator.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/test/CMakeLists.txt
A bolt/test/X86/bolt-address-translation-internal-call.test
A bolt/test/X86/bolt-address-translation.test
M bolt/test/lit.cfg.py
M bolt/tools/CMakeLists.txt
A bolt/tools/bat-dump/CMakeLists.txt
A bolt/tools/bat-dump/bat-dump.cpp
Log Message:
-----------
Add BAT testing framework
This patch refactors BAT to be testable as a library, so we
can have open-source tests on it. This further fixes an issue with
basic blocks that lack a valid input offset, making BAT omit those
when writing translation tables.
Test Plan: new testcases added, new testing tool added (llvm-bat-dump)
Differential Revision: https://reviews.llvm.org/D129382
More information about the All-commits
mailing list