mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Twinify GraphWriter a little bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144647 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -368,7 +368,7 @@ namespace llvm {
|
||||
void MachineFunction::viewCFG() const
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
ViewGraph(this, "mf" + getFunction()->getNameStr());
|
||||
ViewGraph(this, "mf" + getFunction()->getName());
|
||||
#else
|
||||
errs() << "MachineFunction::viewCFG is only available in debug builds on "
|
||||
<< "systems with Graphviz or gv!\n";
|
||||
@ -378,7 +378,7 @@ void MachineFunction::viewCFG() const
|
||||
void MachineFunction::viewCFGOnly() const
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
ViewGraph(this, "mf" + getFunction()->getNameStr(), true);
|
||||
ViewGraph(this, "mf" + getFunction()->getName(), true);
|
||||
#else
|
||||
errs() << "MachineFunction::viewCFGOnly is only available in debug builds on "
|
||||
<< "systems with Graphviz or gv!\n";
|
||||
|
Reference in New Issue
Block a user