[LLVMdev] Contants generation - proposal

Tim Northover t.p.northover at gmail.com
Wed Jun 26 04:22:55 PDT 2013


>> I think that the improved behavior for consts should be acceptable in the large model. But that's just me.

> By default, all constants should be in a special read-only section, and this section may be far from the text section.

Why should they? The only reason I can think of is to support
execute-only pages, but isn't that the less common use-case? From what
I could tell from a quick search (very non-thorough), none of the
mainstream x86 operating systems enable it by default.

Cheers.

Tim.



More information about the llvm-dev mailing list