mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
quick fix: remove GlobalVariable::GlobalVariable mistakenly commited at r144933. For some reason this compiles on linux
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4f3052403c
commit
2e7fb2f736
@ -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