[LLVMdev] Why the optimizer removes unused "volatile" globals?

Sanjiv Gupta sanjiv.gupta at microchip.com
Sat Jul 11 09:27:56 PDT 2009


PIC16 does not want globals marked with section attributes being 
deleted. But I see llvm-ld removes them even if the user marks them as 
"volatile".I wonder why?

- Sanjiv




More information about the llvm-dev mailing list