From 538d666814d99ccc425aa633318938bd3bcad10b Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Wed, 15 Feb 2017 19:21:04 +0000 Subject: include function name in dot filename Differential Revision: http://reviews.llvm.org/D29975 llvm-svn: 295220 --- llvm/lib/CodeGen/BranchFolding.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/BranchFolding.cpp') diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index d148a9dbac5..4a9e15ebd76 100644 --- a/llvm/lib/CodeGen/BranchFolding.cpp +++ b/llvm/lib/CodeGen/BranchFolding.cpp @@ -497,7 +497,9 @@ BranchFolder::MBFIWrapper::printBlockFreq(raw_ostream &OS, return MBFI.printBlockFreq(OS, Freq); } -void BranchFolder::MBFIWrapper::view(bool isSimple) { MBFI.view(isSimple); } +void BranchFolder::MBFIWrapper::view(const Twine &Name, bool isSimple) { + MBFI.view(Name, isSimple); +} uint64_t BranchFolder::MBFIWrapper::getEntryFreq() const { -- cgit v1.2.3