Added -view-callgraph module pass.
authorAndrew Trick <atrick@apple.com>
Fri, 11 Jan 2013 17:28:14 +0000 (17:28 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 11 Jan 2013 17:28:14 +0000 (17:28 +0000)
commita125cacf7d154d0e5cad47f011e619e45517c839
tree421d5aae57cacb8ff77417cb3ad8338338c59640
parentdced3cdb0408f0802db332453a1e9c69c5fea70c
Added -view-callgraph module pass.

-dot-callgraph similarly follows a standard module pass pattern.

Patch by Speziale Ettore!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172220 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/CallPrinter.h [new file with mode: 0644]
include/llvm/Analysis/DOTGraphTraitsPass.h
include/llvm/InitializePasses.h
include/llvm/LinkAllPasses.h
lib/Analysis/IPA/CallPrinter.cpp [new file with mode: 0644]
lib/Analysis/IPA/IPA.cpp
tools/opt/GraphPrinters.cpp