[all-commits] [llvm/llvm-project] d49270: [lld][ELF] Removing redundant cast. NFC.

Sam Clegg via All-commits all-commits at lists.llvm.org
Sun Feb 28 18:22:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d49270b087e85191057925ce00c19378caeee5b2
      https://github.com/llvm/llvm-project/commit/d49270b087e85191057925ce00c19378caeee5b2
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-02-28 (Sun, 28 Feb 2021)

  Changed paths:
    M lld/ELF/InputSection.cpp
    M lld/test/ELF/merge-string.s

  Log Message:
  -----------
  [lld][ELF] Removing redundant cast. NFC.

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.

Differential Revision: https://reviews.llvm.org/D97647




More information about the All-commits mailing list