diff options
author | Kostya Serebryany <kcc@google.com> | 2011-11-17 23:37:53 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2011-11-17 23:37:53 +0000 |
commit | 2e7fb2f73641f1f1ca385fe7777075945bf4ca24 (patch) | |
tree | 2eb62a21168e6a5372ccb3381a130bd4b3d92e89 /lib/Transforms/Instrumentation/AddressSanitizer.cpp | |
parent | 4f3052403ca5ea9542a118c2e54ff9c82038f41c (diff) |
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
Diffstat (limited to 'lib/Transforms/Instrumentation/AddressSanitizer.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/AddressSanitizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/lib/Transforms/Instrumentation/AddressSanitizer.cpp index 1f3672e25c..f9c10f38bf 100644 --- a/lib/Transforms/Instrumentation/AddressSanitizer.cpp +++ b/lib/Transforms/Instrumentation/AddressSanitizer.cpp @@ -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; |