array literals and the read only segment
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Mon Dec 12 02:41:02 PST 2016
On Sunday, 11 December 2016 at 12:48:17 UTC, Shachar Shemesh
wrote:
> Is this a know issue?
What's the issue? That array1 is in data section? That array2 is
in rodata section? Or that they are in different sections?
I suppose string literal goes to rodata because all string
literals go there, and everything else goes to data.
More information about the Digitalmars-d
mailing list