[compiler-rt] r275136 - fix incorrect constant (from http://reviews.llvm.org/D22111)

Etienne Bergeron via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 18:30:58 PDT 2016


Author: etienneb
Date: Mon Jul 11 20:30:58 2016
New Revision: 275136

URL: http://llvm.org/viewvc/llvm-project?rev=275136&view=rev
Log:
fix incorrect constant (from http://reviews.llvm.org/D22111)

Modified:
    compiler-rt/trunk/lib/interception/interception_win.cc

Modified: compiler-rt/trunk/lib/interception/interception_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/interception/interception_win.cc?rev=275136&r1=275135&r2=275136&view=diff
==============================================================================
--- compiler-rt/trunk/lib/interception/interception_win.cc (original)
+++ compiler-rt/trunk/lib/interception/interception_win.cc Mon Jul 11 20:30:58 2016
@@ -339,7 +339,7 @@ static uptr AllocateMemoryForTrampoline(
         // In 64-bits, the memory space must be allocated within 2G boundary.
         uptr next_address = current->content + current->allocated_size;
         if (next_address < image_address ||
-            next_address - image_address >= 0x7FFFF0000)
+            next_address - image_address >= 0x7FFF0000)
           continue;
 #endif
       // The space can be allocated in the current region.




More information about the llvm-commits mailing list