[all-commits] [llvm/llvm-project] cecc68: [ELF] Simplify assignFileOffsets

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Nov 28 13:44:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cecc6893a08618fc753cd55893b720a01fbd2b51
      https://github.com/llvm/llvm-project/commit/cecc6893a08618fc753cd55893b720a01fbd2b51
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-11-28 (Sun, 28 Nov 2021)

  Changed paths:
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Simplify assignFileOffsets

There is a difference with non-SHF_ALLOC SHT_NOBITS when off%sh_addralign!=0
which doesn't happen/matter in practice.




More information about the All-commits mailing list