[llvm] [llvm-exegesis] Debug generated disassembly (PR #142540)
Lakshay Kumar via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 2 03:45:37 PDT 2025
================
@@ -655,6 +660,96 @@ BenchmarkRunner::getRunnableConfiguration(
if (Error E = Snippet.takeError())
return std::move(E);
RC.ObjectFile = getObjectFromBuffer(*Snippet);
+
+ // Print the assembled snippet by disassembling the binary data
+ // Extract the actual function bytes from the object file
+ std::vector<uint8_t> FunctionBytes;
----------------
lakshayk-nv wrote:
Thanks, Extracted out code for printing assembled snippet into function and a helper function.
https://github.com/llvm/llvm-project/pull/142540
More information about the llvm-commits
mailing list