[llvm-commits] Patch to generalize .weak_definition directive in MCAsmStreamer
Dmitry N. Mikushin
maemarcus at gmail.com
Thu Oct 18 16:47:49 PDT 2012
Dear all,
In NVPTX backend it is illegal to generate .weak_definition directive
in its default format. In order to let the target provide its own
implementation of this directive, MCAsmStreamer should emit
MAI.getWeakDefDirective() instead of hard-coded
"\t.weak_definition\t", in the same way as it is already done for
.globl/.global.
Please see the attached patch.
Thanks,
- D.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weak_definition.patch
Type: application/octet-stream
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121019/609c4fab/attachment.obj>
More information about the llvm-commits
mailing list