GlobalValue: Assert symbols with local linkage have default visibility
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 7 May 2014 23:00:22 +0000 (23:00 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 7 May 2014 23:00:22 +0000 (23:00 +0000)
commit04d60023af34b84dd98959f622e7cb46fe5593c4
tree9b3b17f6ad0dd3b6abcf5a91cb90449a2a40d978
parent76c17d324ca877420e4be98638ef15a62b2efa4e
GlobalValue: Assert symbols with local linkage have default visibility

The change to ExtractGV.cpp has no functionality change except to avoid
the asserts.  Existing testcases already cover this, so I didn't add a
new one.

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