diff options
author | Xinliang David Li <davidxl@google.com> | 2017-02-15 19:21:04 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2017-02-15 19:21:04 +0000 |
commit | 538d666814d99ccc425aa633318938bd3bcad10b (patch) | |
tree | f9e15950cbde695bc9e17a7d4096f0140656d04a /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 8eb1a48540172402843035cb95ecacf005c7cdeb (diff) | |
download | bcm5719-llvm-538d666814d99ccc425aa633318938bd3bcad10b.tar.gz bcm5719-llvm-538d666814d99ccc425aa633318938bd3bcad10b.zip |
include function name in dot filename
Differential Revision: http://reviews.llvm.org/D29975
llvm-svn: 295220
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBlockPlacement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index 8a57f009975..bfc90e0d8cd 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp @@ -2381,7 +2381,7 @@ bool MachineBlockPlacement::runOnMachineFunction(MachineFunction &MF) { if (ViewBlockLayoutWithBFI != GVDT_None && (ViewBlockFreqFuncName.empty() || F->getFunction()->getName().equals(ViewBlockFreqFuncName))) { - MBFI->view(false); + MBFI->view("MBP." + MF.getName(), false); } |