projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NVPTX] Do not emit .weak symbols for NVPTX
[oota-llvm.git]
/
lib
/
MC
/
MCAsmInfo.cpp
diff --git
a/lib/MC/MCAsmInfo.cpp
b/lib/MC/MCAsmInfo.cpp
index 2fb558f1f3e39157e94ade1c87db79a70209a2b6..053061823ff93158f16b30aa4412b81e3803aae2 100644
(file)
--- a/
lib/MC/MCAsmInfo.cpp
+++ b/
lib/MC/MCAsmInfo.cpp
@@
-71,6
+71,7
@@
MCAsmInfo::MCAsmInfo() {
HasSingleParameterDotFile = true;
HasIdentDirective = false;
HasNoDeadStrip = false;
+ WeakDirective = "\t.weak\t";
WeakRefDirective = nullptr;
HasWeakDefDirective = false;
HasWeakDefCanBeHiddenDirective = false;