search for: fixupaddress

Displaying 1 result from an estimated 1 matches for "fixupaddress".

2010 Aug 16
1
[LLVMdev] [PATCH] fix "32-bit shift" warning in MSVC
...64 bits (was 64-bit shift intended?) Index: lib/MC/MachObjectWriter.cpp =================================================================== --- lib/MC/MachObjectWriter.cpp (revision 111120) +++ lib/MC/MachObjectWriter.cpp (working copy) @@ -769,7 +769,7 @@ IsPCRel = 1; FixedValue = (FixupAddress - Layout.getSymbolAddress(SD_B) + Target.getConstant()); - FixedValue += 1 << Log2Size; + FixedValue += static_cast<uint64_t>(1) << Log2Size; } else { FixedValue = 0; } -------------- next part -------------- A non-text attachment wa...