This is an archive of the discontinued LLVM Phabricator instance.

[Alignment] Introduce llvm::Align to MCSection
ClosedPublic

Authored by gchatelet on Sep 12 2019, 2:53 AM.

Details

Summary

This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Diff Detail

Repository
rL LLVM

Event Timeline

gchatelet created this revision.Sep 12 2019, 2:53 AM
courbet added inline comments.Sep 12 2019, 7:42 AM
llvm/tools/dsymutil/DwarfStreamer.cpp
263 ↗(On Diff #219868)

oops

courbet requested changes to this revision.Sep 12 2019, 7:43 AM
This revision now requires changes to proceed.Sep 12 2019, 7:43 AM
courbet added inline comments.Sep 12 2019, 8:01 AM
llvm/lib/MC/MachObjectWriter.cpp
243 ↗(On Diff #219868)

Oh, and this calls Log2(double).

gchatelet updated this revision to Diff 219929.Sep 12 2019, 8:28 AM
gchatelet marked 2 inline comments as done.
  • Address comments and rebase
courbet accepted this revision.Sep 13 2019, 2:25 AM
This revision is now accepted and ready to land.Sep 13 2019, 2:25 AM
This revision was automatically updated to reflect the committed changes.