[LLVMdev] LLVM 2.4 problem? (resend)
asl at math.spbu.ru
Wed Oct 15 10:04:49 PDT 2008
> (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...
More information about the llvm-dev