From 8fb6512a238476162acea7c51c409c25e80e0472 Mon Sep 17 00:00:00 2001 From: Maksim Panchenko Date: Mon, 21 Oct 2019 15:57:36 -0700 Subject: [PATCH] [BOLT][Docs] Instructions for linking with jemalloc/tcmalloc (cherry picked from FBD18050722) --- bolt/src/BinaryFunction.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bolt/src/BinaryFunction.cpp b/bolt/src/BinaryFunction.cpp index fbd034f9375a..38efec01c21e 100644 --- a/bolt/src/BinaryFunction.cpp +++ b/bolt/src/BinaryFunction.cpp @@ -1828,11 +1828,8 @@ bool BinaryFunction::buildCFG(MCPlusBuilder::AllocatorIdTy AllocatorId) { if (!FromBB || !ToBB) { if (!FromBB) errs() << "BOLT-ERROR: cannot find BB containing the branch.\n"; - if (!ToBB) { - dbgs() << "registering branch [0x" << Twine::utohexstr(Branch.first) - << "] -> [0x" << Twine::utohexstr(Branch.second) << "]\n"; + if (!ToBB) errs() << "BOLT-ERROR: cannot find BB containing branch destination.\n"; - } BC.exitWithBugReport("disassembly failed - inconsistent branch found.", *this); }