search for: 113762

Displaying 2 results from an estimated 2 matches for "113762".

Did you mean: 13762
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
2010 Dec 14
3
[LLVMdev] __used__ attributes in llvm-gcc's crtstuff.c
Hello, I'm wondering why only some global static variables are marked with __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, I presume __used__ attribute is used instead. For example, __CTOR_LIST__[1]