[PATCH] D129382: Add BAT testing framework
Rafael Auler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 8 10:07:35 PDT 2022
rafauler created this revision.
rafauler added reviewers: Amir, yota9, ayermolo, zr33, nhuhuan, FPar, maksfb.
Herald added a subscriber: mgorny.
Herald added a project: All.
rafauler requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129382
Files:
bolt/include/bolt/Profile/BoltAddressTranslation.h
bolt/lib/Passes/ValidateInternalCalls.cpp
bolt/lib/Profile/BoltAddressTranslation.cpp
bolt/lib/Profile/DataAggregator.cpp
bolt/lib/Rewrite/RewriteInstance.cpp
bolt/test/CMakeLists.txt
bolt/test/X86/bolt-address-translation-internal-call.test
bolt/test/X86/bolt-address-translation.test
bolt/test/lit.cfg.py
bolt/tools/CMakeLists.txt
bolt/tools/bat-dump/CMakeLists.txt
bolt/tools/bat-dump/bat-dump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129382.443278.patch
Type: text/x-patch
Size: 24585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220708/63aa2063/attachment-0001.bin>
More information about the llvm-commits
mailing list