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)
commit2810a0ab80695876b51209b535888df5dcf8ccbc
treeab0ea7efbf7717264998efc726066c95c71e3b4f
parent6f7ca81cce63c4d25ebdc1ab10739baf5a64d78d
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!

llvm-svn: 177256
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp