[PATCH] D118271: [BOLT] Prepare BOLT for unit-testing
Vladislav Khmelevsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 26 09:57:34 PST 2022
yota9 created this revision.
yota9 added reviewers: maksfb, rafauler, Amir.
Herald added subscribers: ayermolo, mgorny.
yota9 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch adds unit testing support for BOLT. In order to do this on
the code level we will need at least too:
- Make createMCPlusBuilder accessible externally
- Remove positional InputFilename argument to bolt utlity sources
And prepare the cmake and lit for the new tests.
Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118271
Files:
bolt/CMakeLists.txt
bolt/include/bolt/Core/MCPlusBuilder.h
bolt/include/bolt/Rewrite/RewriteInstance.h
bolt/include/bolt/Utils/CommandLineOpts.h
bolt/lib/Rewrite/RewriteInstance.cpp
bolt/lib/Utils/CommandLineOpts.cpp
bolt/test/CMakeLists.txt
bolt/test/Unit/CMakeLists.txt
bolt/test/Unit/lit.cfg.py
bolt/test/Unit/lit.site.cfg.py.in
bolt/tools/driver/llvm-bolt.cpp
bolt/unittests/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118271.403322.patch
Type: text/x-patch
Size: 9223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220126/806b527e/attachment.bin>
More information about the llvm-commits
mailing list