diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-12-01 23:35:51 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-12-01 23:35:51 +0000 |
commit | 5dc7770bf7090dde6c79dc08e3b6187e4bdab5dc (patch) | |
tree | 4e96ea776c5c2efae9831a1ac68cb52092f1e31c | |
parent | 6da8946202e2e3ecd7a73254290669c60ff5bc19 (diff) | |
download | bcm5719-llvm-5dc7770bf7090dde6c79dc08e3b6187e4bdab5dc.tar.gz bcm5719-llvm-5dc7770bf7090dde6c79dc08e3b6187e4bdab5dc.zip |
asan: Suppress a -Wbitwise-op-parentheses.
llvm-svn: 145647
-rw-r--r-- | compiler-rt/lib/asan/mach_override/mach_override.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/mach_override/mach_override.c b/compiler-rt/lib/asan/mach_override/mach_override.c index 342fefc2724..50a38d0609e 100644 --- a/compiler-rt/lib/asan/mach_override/mach_override.c +++ b/compiler-rt/lib/asan/mach_override/mach_override.c @@ -401,7 +401,7 @@ allocateBranchIsland( if( !err ) { assert( sizeof( BranchIsland ) <= pageSize ); #if defined(__x86_64__) - vm_address_t first = (uint64_t)originalFunctionAddress & ~(uint64_t)(((uint64_t)1 << 31) - 1) | ((uint64_t)1 << 31); // start in the middle of the page? + vm_address_t first = ((uint64_t)originalFunctionAddress & ~(uint64_t)(((uint64_t)1 << 31) - 1)) | ((uint64_t)1 << 31); // start in the middle of the page? vm_address_t last = 0x0; #else vm_address_t first = 0xfeffffff; |