[PATCH] D139181: [lld][Alignment][NFC] Use Align instead of log2 of alignment in Wasm Sections

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 2 02:14:09 PST 2022


gchatelet created this revision.
gchatelet added a reviewer: courbet.
Herald added subscribers: pmatos, asb, sunfish, sbc100.
Herald added a project: All.
gchatelet requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139181

Files:
  lld/wasm/InputChunks.h
  lld/wasm/OutputSegment.cpp
  lld/wasm/OutputSegment.h
  lld/wasm/SyntheticSections.cpp
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139181.479562.patch
Type: text/x-patch
Size: 4850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221202/fb13bb52/attachment.bin>


More information about the llvm-commits mailing list