[PATCH] D64790: [LLVM][NFC] Adding an Alignment type to LLVM

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 02:59:26 PDT 2019


gchatelet created this revision.
gchatelet added reviewers: jfb, jakehehrlich.
Herald added subscribers: llvm-commits, dexonsmith, mgrang, mgorny.
Herald added a project: LLVM.

This patch introduces a type to straighten LLVM's alignment management.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html

The next steps are:

- Use this type throughout LLVM
- Harden the type by setting ALIGN_HARDENED_ALIGNMENT to 1


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64790

Files:
  llvm/include/llvm/Support/Alignment.h
  llvm/unittests/Support/AlignmentTest.cpp
  llvm/unittests/Support/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64790.210055.patch
Type: text/x-patch
Size: 28063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190716/339f5d0e/attachment-0001.bin>


More information about the llvm-commits mailing list