[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Chris Lattner
lattner at cs.uiuc.edu
Thu Oct 16 13:31:47 PDT 2003
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.130 -> 1.131
---
Log message:
Add support for 'weak' linkage.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.130 llvm/lib/AsmParser/llvmAsmParser.y:1.131
--- llvm/lib/AsmParser/llvmAsmParser.y:1.130 Wed Oct 15 11:46:48 2003
+++ llvm/lib/AsmParser/llvmAsmParser.y Thu Oct 16 13:27:55 2003
@@ -763,7 +763,7 @@
OptLinkage : INTERNAL { $$ = GlobalValue::InternalLinkage; } |
LINKONCE { $$ = GlobalValue::LinkOnceLinkage; } |
- WEAK { $$ = GlobalValue::LinkOnceLinkage; /* FIXME */ } |
+ WEAK { $$ = GlobalValue::WeakLinkage; } |
APPENDING { $$ = GlobalValue::AppendingLinkage; } |
/*empty*/ { $$ = GlobalValue::ExternalLinkage; };
More information about the llvm-commits
mailing list