add a pass that can extract all kinds of global values, not just functions. Update...
authorAndrew Lenharth <andrewl@lenharth.org>
Fri, 7 Mar 2008 19:51:57 +0000 (19:51 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Fri, 7 Mar 2008 19:51:57 +0000 (19:51 +0000)
commitd245a8ae470e2ee84d138379f793095646c590e5
tree1d49db6fbc5fe289d07addb27ba8efbeb4883b50
parentbbf1c514bd832bf1306fe3e87221fd78bbc306ef
add a pass that can extract all kinds of global values, not just functions.  Update llvm-extract to use it and optionally extract a global variable if you want it too

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48015 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/IPO.h
lib/Transforms/IPO/ExtractGV.cpp [new file with mode: 0644]
tools/llvm-extract/llvm-extract.cpp