[PATCH] D126916: [BOLT][NFC] Pass Function to BC.printInstructions in BinaryBasicBlock::dump
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 13 14:27:03 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG02d510b41698: [BOLT][NFC] Pass Function to BC.printInstructions in BinaryBasicBlock::dump (authored by Amir).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126916/new/
https://reviews.llvm.org/D126916
Files:
bolt/lib/Core/BinaryBasicBlock.cpp
Index: bolt/lib/Core/BinaryBasicBlock.cpp
===================================================================
--- bolt/lib/Core/BinaryBasicBlock.cpp
+++ bolt/lib/Core/BinaryBasicBlock.cpp
@@ -563,7 +563,7 @@
if (Label)
outs() << Label->getName() << ":\n";
BC.printInstructions(outs(), Instructions.begin(), Instructions.end(),
- getOffset());
+ getOffset(), Function);
outs() << "preds:";
for (auto itr = pred_begin(); itr != pred_end(); ++itr) {
outs() << " " << (*itr)->getName();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126916.436566.patch
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220613/200c213d/attachment.bin>
More information about the llvm-commits
mailing list