[llvm-dev] Clearing the BSS section

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Fri Aug 28 08:27:46 PDT 2015


On Fri, Aug 28, 2015 at 04:52:56PM +0200, devh8h via llvm-dev wrote:
> Is there a way to prevent the optimizer to assume the two variables
> are distinct ? Or what is the proper way to deal with link time values ?

Make one of them weak.

Joerg


More information about the llvm-dev mailing list