diff options
Diffstat (limited to 'bolt/lib/Core/BinaryFunction.cpp')
| -rw-r--r-- | bolt/lib/Core/BinaryFunction.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bolt/lib/Core/BinaryFunction.cpp b/bolt/lib/Core/BinaryFunction.cpp index 27c8ccefedee..36c42fced93d 100644 --- a/bolt/lib/Core/BinaryFunction.cpp +++ b/bolt/lib/Core/BinaryFunction.cpp @@ -111,10 +111,6 @@ cl::opt<bool> cl::desc("try to preserve basic block alignment"), cl::cat(BoltOptCategory)); -static cl::opt<bool> PrintOffsets("print-offsets", - cl::desc("print basic block offsets"), - cl::Hidden, cl::cat(BoltOptCategory)); - static cl::opt<bool> PrintOutputAddressRange( "print-output-address-range", cl::desc( @@ -545,11 +541,6 @@ void BinaryFunction::print(raw_ostream &OS, std::string Annotation) { if (BB->isLandingPad()) OS << " Landing Pad\n"; - if (opts::PrintOffsets && BB->getOutputStartAddress()) { - OS << " OutputOffset: 0x" - << Twine::utohexstr(BB->getOutputStartAddress()) << '\n'; - } - uint64_t BBExecCount = BB->getExecutionCount(); if (hasValidProfile()) { OS << " Exec Count : "; @@ -4562,9 +4553,6 @@ void BinaryFunction::printLoopInfo(raw_ostream &OS) const { } bool BinaryFunction::isAArch64Veneer() const { - if (hasNameRegex("__AArch64.*Thunk.*")) - return true; - if (empty() || hasIslandsInfo()) return false; |
