CodeGen: Don't create address significance table entries for thread-local variables.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 18 Jul 2018 00:21:40 +0000 (00:21 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 18 Jul 2018 00:21:40 +0000 (00:21 +0000)
commitfc50498ced7f85279b901fce302d01e558c74c7d
tree5a07244400533ce0f04cd9234a051932999b012b
parent0f5d5fae93404357c84d7d1b96fddb022c093d49
CodeGen: Don't create address significance table entries for thread-local variables.

The presence of these symbols in the symbol table can cause symbol type
mismatch errors (or undefined symbol errors on emulated TLS targets)
and they can't be ICF'd anyway.

llvm-svn: 337338
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/test/CodeGen/X86/addrsig.ll