summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Hello
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-11-04 22:51:24 +0000
committerBill Wendling <isanbard@gmail.com>2008-11-04 22:51:24 +0000
commit2f40956c68ef1b3875292efbfd12e29807d1b055 (patch)
tree0156bc0de58485a647a9dd7f6935972c7dc9b8a5 /llvm/lib/Transforms/Hello
parenta926ed4b50892abab001a131503aecac932c1870 (diff)
downloadbcm5719-llvm-2f40956c68ef1b3875292efbfd12e29807d1b055.tar.gz
bcm5719-llvm-2f40956c68ef1b3875292efbfd12e29807d1b055.zip
- Add a "getOrInsertGlobal" method to the Module class. This acts similarly to
"getOrInsertFunction" in that it either adds a new declaration of the global and returns it, or returns the current one -- optionally casting it to the correct type. - Use the new getOrInsertGlobal in the stack protector code. - Use "splitBasicBlock" in the stack protector code. llvm-svn: 58727
Diffstat (limited to 'llvm/lib/Transforms/Hello')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud