This is an archive of the discontinued LLVM Phabricator instance.

[lld] [COFF] Minor tweaks to ARM64 relocation code. NFC.
ClosedPublic

Authored by mstorsjo on Jul 19 2017, 2:22 PM.

Details

Summary

Fix issues found in existing code, while reviewing other changes.

Change the data type of a variable to uint32_t, to avoid potential issues with signedness in shifts.

Diff Detail

Event Timeline

mstorsjo created this revision.Jul 19 2017, 2:22 PM
mstorsjo updated this revision to Diff 107384.Jul 19 2017, 2:39 PM
mstorsjo retitled this revision from [lld] [COFF] Change the data type of a variable to uint32_t. NFC. to [lld] [COFF] Minor tweaks to ARM64 relocation code. NFC..
mstorsjo edited the summary of this revision. (Show Details)

Moving a shift as well.

This revision was automatically updated to reflect the committed changes.