[llvm-commits] [release_12] CVS: llvm-gcc/gcc/llvm-expand.c
John Criswell
criswell at cs.uiuc.edu
Tue Mar 16 20:43:01 PST 2004
Changes in directory llvm-gcc/gcc:
llvm-expand.c updated: 1.30 -> 1.30.2.1
---
Log message:
Merge in revision 1.31 from mainline. This makes the compiler generate
globals internal and unbreaks crafty.
Hence, it is a very crafty change.
:)
---
Diffs of the changes: (+1 -0)
Index: llvm-gcc/gcc/llvm-expand.c
diff -u llvm-gcc/gcc/llvm-expand.c:1.30 llvm-gcc/gcc/llvm-expand.c:1.30.2.1
--- llvm-gcc/gcc/llvm-expand.c:1.30 Tue Mar 16 15:51:49 2004
+++ llvm-gcc/gcc/llvm-expand.c Tue Mar 16 20:42:22 2004
@@ -4034,6 +4034,7 @@
sprintf(Name, ".ctor_%d", ++CtorCounter);
G = llvm_global_new(D2V(C)->Ty, Name);
G->Init = C;
+ G->Linkage = L_Internal;
llvm_ilist_push_back(llvm_global, TheProgram.Globals, G);
EmitMemCpyMove(Fn, target, G2V(G),
llvm_constant_new_integral(LongTy, NumBytes),
More information about the llvm-commits
mailing list