[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Anton Korobeynikov
asl at math.spbu.ru
Thu Nov 30 16:25:29 PST 2006
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.279 -> 1.280
---
Log message:
Introducing external weak linkage. Darwin codegen should be added later.
---
Diffs of the changes: (+1 -1)
llvmAsmParser.y | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.279 llvm/lib/AsmParser/llvmAsmParser.y:1.280
--- llvm/lib/AsmParser/llvmAsmParser.y:1.279 Tue Nov 28 16:47:12 2006
+++ llvm/lib/AsmParser/llvmAsmParser.y Thu Nov 30 18:25:12 2006
@@ -2201,7 +2201,7 @@
FnDeclareLinkage: /*default*/ |
DLLIMPORT { CurFun.Linkage = GlobalValue::DLLImportLinkage; } |
- EXTERN_WEAK { CurFun.Linkage = GlobalValue::DLLImportLinkage; };
+ EXTERN_WEAK { CurFun.Linkage = GlobalValue::ExternalWeakLinkage; };
FunctionProto : DECLARE { CurFun.isDeclare = true; } FnDeclareLinkage FunctionHeaderH {
$$ = CurFun.CurrentFunction;
More information about the llvm-commits
mailing list