[LLVMdev] Adding support for explicitly specified TLS models (PR9788)

Joerg Sonnenberger joerg at britannica.bec.de
Wed Apr 25 06:04:10 PDT 2012


On Wed, Apr 25, 2012 at 12:39:49PM +0100, Hans Wennborg wrote:
> Just as it is illegal to specify thread_local for a target that
> doesn't support it, specifying a TLS model that isn't supported by the
> target would be illegal.

For ELF, it doesn't make sense to reject one as it can always be
relaxed. An application program shouldn't have to worry about that, it
is just an implementation detail.

Joerg



More information about the llvm-dev mailing list