Add code to GlobalVariable.h so that global variables marked as
authorMichael Gottesman <mgottesman@apple.com>
Tue, 5 Feb 2013 06:53:26 +0000 (06:53 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Tue, 5 Feb 2013 06:53:26 +0000 (06:53 +0000)
commite1b6b5290373073c95f6865ceaf76fa7848ecf44
tree7db83ccc7524db4ca00d5b65b6037a5a10fd929a
parent429f7ef0c116c0504052b9a6655ef4d973177e9d
Add code to GlobalVariable.h so that global variables marked as
externally_initialized return false for hasDefiniteInitializer and
hasUniqueInitializer.

rdar://12580965.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174345 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/GlobalVariable.h
test/Transforms/GlobalOpt/externally-initialized-global-ctr.ll [new file with mode: 0644]