aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/llvmAsmParser.y
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-16 18:29:00 +0000
committerChris Lattner <sabre@nondot.org>2003-10-16 18:29:00 +0000
commit72ac148d4964fbff950fe11a0eeeda73973b849b (patch)
treefde7ca11baf974328570db3b0d678d98e576fb30 /lib/AsmParser/llvmAsmParser.y
parent6b25242a4ba80e8c3a8a2664eefeba9c69814012 (diff)
downloadexternal_llvm-72ac148d4964fbff950fe11a0eeeda73973b849b.zip
external_llvm-72ac148d4964fbff950fe11a0eeeda73973b849b.tar.gz
external_llvm-72ac148d4964fbff950fe11a0eeeda73973b849b.tar.bz2
Add support for 'weak' linkage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9171 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.y')
-rw-r--r--lib/AsmParser/llvmAsmParser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y
index 3347e88..725f254 100644
--- a/lib/AsmParser/llvmAsmParser.y
+++ b/lib/AsmParser/llvmAsmParser.y
@@ -763,7 +763,7 @@ OptAssign : Name '=' {
OptLinkage : INTERNAL { $$ = GlobalValue::InternalLinkage; } |
LINKONCE { $$ = GlobalValue::LinkOnceLinkage; } |
- WEAK { $$ = GlobalValue::LinkOnceLinkage; /* FIXME */ } |
+ WEAK { $$ = GlobalValue::WeakLinkage; } |
APPENDING { $$ = GlobalValue::AppendingLinkage; } |
/*empty*/ { $$ = GlobalValue::ExternalLinkage; };