4 ms·
That's not what I got from the quoted paragraph. I'll have to chase the links to be sure.
by cryptonector 7y ago
That's not what I got from the quoted paragraph. I'll have to chase the links to be sure.
- jcranmer 7y agoIn LLVM terms, it's referring to these kinds of stores: @vval = constant double 1.0, align 8 define void @foo(double *val) { store double %val, double @cval, align 8 | At the LLVM level, the "const" qualifier to pointers and other non-global values get reflected nowhere in the type system. But if you declare a const global variable, that variable gets placed in a read-only data section.
- cryptonector 7y agoGot it. Thanks!