DebugInfo: Provide a utility for building a mapping from llvm::Function*s to llvm...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 1 Jul 2014 20:05:26 +0000 (20:05 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 1 Jul 2014 20:05:26 +0000 (20:05 +0000)
commitf652ec594e62eb5bce6bd297700be4aa495debde
treee7038471e1b5c1cc305d38f57a0b525d4e396eb8
parent4f5fa35b596ca87e68f817097799705912fba266
DebugInfo: Provide a utility for building a mapping from llvm::Function*s to llvm::DISubprograms

Update DeadArgumentElimintation to use this, with the intent of reusing
the functionality for ArgumentPromotion as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212122 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h
lib/IR/DebugInfo.cpp
lib/Transforms/IPO/DeadArgumentElimination.cpp