mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-17 00:57:54 +00:00
quick fix: remove GlobalVariable::GlobalVariable mistakenly commited at r144933. For some reason this compiles on linux
llvm-svn: 144936
This commit is contained in:
parent
7dc21d8c0e
commit
6081213d59
@ -450,9 +450,9 @@ bool AddressSanitizer::insertGlobalRedzones(Module &M) {
|
||||
if (!G->hasInitializer()) continue;
|
||||
// Touch only those globals that will not be defined in other modules.
|
||||
// Don't handle ODR type linkages since other modules may be built w/o asan.
|
||||
if (G->getLinkage() != GlobalVariable::GlobalVariable::ExternalLinkage &&
|
||||
G->getLinkage() != GlobalVariable::GlobalVariable::PrivateLinkage &&
|
||||
G->getLinkage() != GlobalVariable::GlobalVariable::InternalLinkage)
|
||||
if (G->getLinkage() != GlobalVariable::ExternalLinkage &&
|
||||
G->getLinkage() != GlobalVariable::PrivateLinkage &&
|
||||
G->getLinkage() != GlobalVariable::InternalLinkage)
|
||||
continue;
|
||||
// For now, just ignore this Alloca if the alignment is large.
|
||||
if (G->getAlignment() > RedzoneSize) continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user