[PATCH] D36304: [lld] [COFF] Add support for aligncomm directives

Martell Malone via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 02:14:46 PDT 2017


martell added a comment.

Rui would probably have to weigh in on what is best here.
I currently disable aligncomm in LLVM for mingw-w64 to work around this with the following patch.
https://github.com/martell/mingw-w64-clang/blob/master/patches/llvm/0002-mingw-w64-use-MSVC-style-ByteAlignment.patch
This does brings about the same problem of needing separate builds of the crt for clang and gcc though so adding support in LLD might make more sense if it is permitted.


https://reviews.llvm.org/D36304





More information about the llvm-commits mailing list