diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-16 18:29:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-16 18:29:00 +0000 |
commit | 72ac148d4964fbff950fe11a0eeeda73973b849b (patch) | |
tree | fde7ca11baf974328570db3b0d678d98e576fb30 /lib/AsmParser/llvmAsmParser.y | |
parent | 6b25242a4ba80e8c3a8a2664eefeba9c69814012 (diff) | |
download | external_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.y | 2 |
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; }; |