mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Change DOTGraphTraits<ScheduleDAG*>::getGraphName how to find the name of
the current function on its own, rather than relying on the SelectionDAG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae78a88e12
commit
c3c129fd8b
@ -387,7 +387,7 @@ namespace llvm {
|
||||
template<>
|
||||
struct DOTGraphTraits<ScheduleDAG*> : public DefaultDOTGraphTraits {
|
||||
static std::string getGraphName(const ScheduleDAG *G) {
|
||||
return DOTGraphTraits<SelectionDAG*>::getGraphName(G->DAG);
|
||||
return G->MF->getFunction()->getName();
|
||||
}
|
||||
|
||||
static bool renderGraphFromBottomUp() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user