[LLVMdev] [patch] emit .weak for zero initialized weak variables
rafael.espindola at gmail.com
Sat Dec 9 13:12:44 PST 2006
The attached patches makes all backends print a .weak directive for
zero initialized variables. GCC does it on x86-64 and ARM. I assume
that it should be done on all architectures.
The patch also adds a test to the ARM backend? Should I copy it to all backends?
P.S.: I find the doFinalization code a bit confusing. Would you
welcome a cleanup patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6093 bytes
Desc: not available
More information about the llvm-dev