[PATCH] [NVPTX] Do not emit .weak symbols for NVPTX

Jingyue Wu jingyue at google.com
Fri Nov 28 10:56:40 PST 2014


Hi jholewinski,

".weak" symbols cannot be consumed by ptxas (PR21685). This patch makes the
weak directive in MCAsmPrinter customizable, and disables emitting ".weak"
symbols for NVPTX.

http://reviews.llvm.org/D6455

Files:
  include/llvm/MC/MCAsmInfo.h
  lib/MC/MCAsmInfo.cpp
  lib/MC/MCAsmStreamer.cpp
  lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
  test/CodeGen/NVPTX/weak-linkage.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6455.16743.patch
Type: text/x-patch
Size: 2836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141128/c69f8c3e/attachment.bin>


More information about the llvm-commits mailing list