[LLVMdev] LLVM 2.4 problem? (resend)

Anton Korobeynikov asl at math.spbu.ru
Wed Oct 15 10:04:49 PDT 2008


Hello, David

>
> (My own position is that different objects should have guaranteed
> different addresses.  To alias them, a code generator must prove that
> it wouldn't change observable behavior.)
However, it's pretty common linker optimization to merge constant  
strings / small literal values. So, even if compiler itself won't  
merge them, they will be emitted into mergeable section and then  
linker will perform this optimization.

---
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081015/86ec5f4e/attachment.html>


More information about the llvm-dev mailing list