17 lines · plain
1; RUN: opt %s -passes=dot-callgraph -callgraph-multigraph -callgraph-dot-filename-prefix=%t -disable-output2; RUN: FileCheck %s -input-file=%t.callgraph.dot --check-prefix=CHECK-MULTIGRAPH3; RUN: opt %s -passes=dot-callgraph -callgraph-dot-filename-prefix=%t -disable-output4; RUN: FileCheck %s -input-file=%t.callgraph.dot --check-prefix=CHECK5 6; CHECK-MULTIGRAPH: {external caller}7; CHECK-NOT: {external caller}8 9define void @bar() {10 ret void11}12 13define void @foo() {14 call void @bar()15 ret void16}17