[LLVMdev] RFA: TREE_READONLY in LLVM-GCC

Duncan Sands baldrick at free.fr
Mon Jan 5 02:03:06 PST 2009


Hi Chris,

> I think this change is fine and should go into the normal apple GCC as  
> well.  Setting TREE_READONLY means that it can go into the "constant"  
> section of the executable, go in ROM, etc.  This is the same as the  
> llvm constant bit on globals.

for this I think it has to be static as well as readonly.

Ciao,

Duncan.



More information about the llvm-dev mailing list