Windows TLS: Section name prefix to ensure correct order
authorAnton Korobeynikov <asl@math.spbu.ru>
Mon, 18 Mar 2013 08:10:10 +0000 (08:10 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Mon, 18 Mar 2013 08:10:10 +0000 (08:10 +0000)
commit87294b65475ffd4238396dba77d4bbf038b22c4e
tree3042d6b4fb32e2f484712e97d3ee5652f87f30a3
parent086a472dbed9911f83add781e020cb49c89829d0
Windows TLS: Section name prefix to ensure correct order
The linker sorts the .tls$<xyz> sections by name, and we need
to make sure any extra sections we produce (e.g. for weak globals)
always end up between .tls$AAA and .tls$ZZZ, even if the name
starts with e.g. an underscore.

Patch by David Nadlinger!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177256 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp