diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-07 19:38:47 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-07 19:38:47 +0000 |
| commit | 170a6e7944efbfe8129702cf553531ae34028698 (patch) | |
| tree | f23235c04cd184333a76ac860f76d770679896ff /llvm/lib | |
| parent | 8a68ab3710ff6d5b33a55143803faa98ee8137d7 (diff) | |
| download | bcm5719-llvm-170a6e7944efbfe8129702cf553531ae34028698.tar.gz bcm5719-llvm-170a6e7944efbfe8129702cf553531ae34028698.zip | |
Don't assert with private type info variables.
With the gnu objc runtime private strings are used. Since we only need to
produce a unique label, the fix is to just drop the asserts.
llvm-svn: 198701
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/TargetLoweringObjectFile.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp index a895dda059f..6060ac57596 100644 --- a/llvm/lib/Target/TargetLoweringObjectFile.cpp +++ b/llvm/lib/Target/TargetLoweringObjectFile.cpp @@ -111,9 +111,6 @@ MCSymbol *TargetLoweringObjectFile::getSymbol(Mangler &M, MCSymbol *TargetLoweringObjectFile::getSymbolWithGlobalValueBase( Mangler &M, const GlobalValue *GV, StringRef Suffix) const { assert(!Suffix.empty()); - assert(!GV->hasPrivateLinkage()); - assert(!GV->hasLinkerPrivateLinkage()); - assert(!GV->hasLinkerPrivateWeakLinkage()); SmallString<60> NameStr; NameStr += DL->getPrivateGlobalPrefix(); |

