Displaying 2 results from an estimated 2 matches for "woongsik".
2010 Dec 14
3
[LLVMdev] __used__ attributes in llvm-gcc's crtstuff.c
...dtors_aux functions are
not executed.
I have configured llvm-gcc for armv6 target and given
--enable-initfini-array option.
I tried to give __used__ attribute to every global static variable in
crtstuff.c and
it caused no problem for me so far.
Would it be any problem in doing so?
Best regards,
Woongsik Choi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101214/799d4643/attachment.html>
2010 Dec 14
0
[LLVMdev] __used__ attributes in llvm-gcc's crtstuff.c
Hello,
> __used__ attributes in llvm-gcc/gcc/crtstuff.c.
> GCC compiles crtstuff.c with -fno-toplevel-reorder option, which ensures
> that
> unused static globals are not removed during optimization. However, since
> LLVM does not support that option,
The problem is not that LLVM does not support this option. Though,
this is indeed so due to certain reason.
All the code is