[llvm] [bolt] Introduce binary analysis tool based on BOLT. (PR #115330)
Kristof Beyls via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 00:42:38 PST 2024
================
@@ -0,0 +1,20 @@
+# BOLT-based binary analysis
+
+As part of post-link-time optimizing, BOLT needs to perform a range of analyses
+on binaries such as recontructing control flow graphs, and more.
+
+The `llvm-bolt-binary-analysis` tool enables running requested binary analyses
+on binaries, and generating reports. It does this by building on top of the
+analyses implementing in the BOLT libraries.
+
+## Which binary analyses are implemented?
+
+At the moment, no binary analyses are implemented.
+
+The goal is to make it easy using a plug-in framework to add you own analyses.
+
+## How to add your own binary analysis
+
+_TODO: this section needs to be written. Ideally, we should have an simple
----------------
kbeyls wrote:
nit: "an simple" -> "a simple"
https://github.com/llvm/llvm-project/pull/115330
More information about the llvm-commits
mailing list