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

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 03:18:53 PDT 2017


mstorsjo added a comment.

In https://reviews.llvm.org/D36304#831621, @ruiu wrote:

> This patch looks good, but could you give me a pointer to the documentation for this feature?


Not sure if there's any official documentation on the directive in itself, but here's the binutils docs on the assembler level directive:
https://sourceware.org/binutils/docs-2.23/as/Comm.html

For implementing it, the references I used were `MCWinCOFFStreamer::EmitCommonSymbol` and the test `MC/COFF/comm-align.s` in LLVM.


https://reviews.llvm.org/D36304





More information about the llvm-commits mailing list