summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-02-13 05:14:12 +0000
committerKostya Serebryany <kcc@google.com>2013-02-13 05:14:12 +0000
commitcaf11af9d33e343156dda110f6b9397c2deb502c (patch)
tree66ea4780cc464d41d459889ccc6298d93a29d8ac /llvm/lib/Transforms
parentbbbb8570229a45b910af50d67cb6d35ccb556395 (diff)
downloadbcm5719-llvm-caf11af9d33e343156dda110f6b9397c2deb502c.tar.gz
bcm5719-llvm-caf11af9d33e343156dda110f6b9397c2deb502c.zip
[asan] fix confusing indentation
llvm-svn: 175033
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
index 4950d838b29..b97e3425bcc 100644
--- a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -219,7 +219,8 @@ static ShadowMapping getShadowMapping(const Module &M, int LongSize,
if (!ZeroBaseShadow && ClShort64BitOffset && IsX86_64 && !IsMacOSX) {
assert(LongSize == 64);
Mapping.Offset = kDefaultShort64bitShadowOffset;
- } if (!ZeroBaseShadow && ClMappingOffsetLog >= 0) {
+ }
+ if (!ZeroBaseShadow && ClMappingOffsetLog >= 0) {
// Zero offset log is the special case.
Mapping.Offset = (ClMappingOffsetLog == 0) ? 0 : 1ULL << ClMappingOffsetLog;
}
OpenPOWER on IntegriCloud