[llvm] [llvm-exegesis] Debug generated disassembly (PR #142540)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 3 16:19:33 PDT 2025
================
@@ -588,6 +594,100 @@ class SubProcessFunctionExecutorImpl
const std::optional<int> BenchmarkProcessCPU;
};
#endif // __linux__
+
+// Helper function to print generated assembly snippets
+void printGeneratedAssembly(
+ const std::vector<std::pair<std::string, std::pair<uint64_t, std::string>>>
----------------
boomanaiden154 wrote:
Can you turn the pairs into structs? I find `std::pair` to make code quite a bit more difficult to read if it isn't super obvious what each element is (as is the case here for me).
https://github.com/llvm/llvm-project/pull/142540
More information about the llvm-commits
mailing list