[BOLT][Docs] Instructions for linking with jemalloc/tcmalloc

(cherry picked from FBD18050722)
This commit is contained in:
Maksim Panchenko 2019-10-21 15:57:36 -07:00
parent 12aca4005c
commit 8fb6512a23
1 changed files with 1 additions and 4 deletions

View File

@ -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);
}