diff options
author | Amir Ayupov <aaupov@fb.com> | 2022-06-13 14:26:14 -0700 |
---|---|---|
committer | Amir Ayupov <aaupov@fb.com> | 2022-06-13 14:26:51 -0700 |
commit | 02d510b41698221a993a16247b812c34c7a127e1 (patch) | |
tree | e6cfe42aa7256bbcfea8e25422623846d060bdfc /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 5c41b0f429652ef50b9378e890f17a1426958e17 (diff) | |
download | llvm-02d510b41698221a993a16247b812c34c7a127e1.zip llvm-02d510b41698221a993a16247b812c34c7a127e1.tar.gz llvm-02d510b41698221a993a16247b812c34c7a127e1.tar.bz2 |
[BOLT][NFC] Pass Function to BC.printInstructions in BinaryBasicBlock::dump
BC::printInstruction(s) has many uses of Function ptr if it's available:
# printing CFI instructions (unconditional)
# printing debug line information (-print-debug-info)
# printing instruction relocations (-print-relocations)
Enable these uses by passing Function ptr from the primary printing entry point:
BinaryBasicBlock::dump.
Reviewed By: maksfb
Differential Revision: https://reviews.llvm.org/D126916
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions