[all-commits] [llvm/llvm-project] cfe77f: [lld][Alignment][NFC] Use Align instead of log2 of...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Fri Dec 2 04:56:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfe77f23d6f190d54763a7575cee95aceb9216bc
      https://github.com/llvm/llvm-project/commit/cfe77f23d6f190d54763a7575cee95aceb9216bc
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    M lld/wasm/InputChunks.h
    M lld/wasm/OutputSegment.cpp
    M lld/wasm/OutputSegment.h
    M lld/wasm/SyntheticSections.cpp
    M lld/wasm/Writer.cpp

  Log Message:
  -----------
  [lld][Alignment][NFC] Use Align instead of log2 of alignment in Wasm Sections

I intend to slowly upgrade all alignments to the Align type in lld as well.
Some places talk about alignment in Bytes while other specify them as Log2(Bytes).
Let's make sure all of this is coherent.

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




More information about the All-commits mailing list