This is an archive of the discontinued LLVM Phabricator instance.

[lld][ELF] Removing redundant cast. NFC.
ClosedPublic

Authored by sbc100 on Feb 28 2021, 4:44 PM.

Details

Summary

Also a couple of minor cleanups in merge-string.s:

  • fix inconsistent use of tabs
  • use .p2align rather than .align since .p2align works the same on all platforms (the meaning of align seems to differ between platforms according to AlignmentIsInBytes.

I noticed these potential cleanups while porting SHF_STRINGS support to
wasm-ld.

Diff Detail

Event Timeline

sbc100 created this revision.Feb 28 2021, 4:44 PM
sbc100 requested review of this revision.Feb 28 2021, 4:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 28 2021, 4:44 PM
sbc100 edited the summary of this revision. (Show Details)Feb 28 2021, 4:48 PM
sbc100 updated this revision to Diff 327006.Feb 28 2021, 4:50 PM
sbc100 edited the summary of this revision. (Show Details)

cleanup

MaskRay accepted this revision.Feb 28 2021, 5:39 PM
This revision is now accepted and ready to land.Feb 28 2021, 5:39 PM
This revision was landed with ongoing or failed builds.Feb 28 2021, 6:22 PM
This revision was automatically updated to reflect the committed changes.