OSDN Git Service

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)
commit70df6e955a655b3d311c7732513f251fd9963d0f
tree819e84d13616094ffa148c5e8fc56e1b3fe1f891
parentb5b60c3d145c6f23071a0bf496ca1c6c74368155
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337338 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/CodeGen/X86/addrsig.ll