[llvm] [BOLT] Add a printing function for MCInst (PR #67225)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 23 03:51:34 PDT 2023
================
@@ -389,6 +389,13 @@ bool BinaryFunction::isForwardCall(const MCSymbol *CalleeSymbol) const {
}
}
+void BinaryFunction::dump(const MCInst &Inst) const {
+ if (!BC.InstPrinter)
----------------
llongint wrote:
Oh, thanks for your suggestion. I will try to modify it to BC interface and add test cases or usage, for testing purposes.
https://github.com/llvm/llvm-project/pull/67225
More information about the llvm-commits
mailing list