mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 07:59:50 +00:00
Fixing an MSVC warning about widening the result of a 32-bit shift implicitly. No functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205304 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ed839120c4
commit
5570517bec
@ -334,7 +334,7 @@ void ARM64MachObjectWriter::RecordRelocation(
|
||||
|
||||
if (IsPCRel)
|
||||
Value -= Writer->getFragmentAddress(Fragment, Layout) +
|
||||
Fixup.getOffset() + (1 << Log2Size);
|
||||
Fixup.getOffset() + (1ULL << Log2Size);
|
||||
} else {
|
||||
// Resolve constant variables.
|
||||
if (SD.getSymbol().isVariable()) {
|
||||
|
Loading…
Reference in New Issue
Block a user