[pr19844] Add thread local mode to aliases.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 28 May 2014 18:15:43 +0000 (18:15 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 28 May 2014 18:15:43 +0000 (18:15 +0000)
commit59f7eba2b546e4118434b0ea9de5e08c316a64b1
tree16f393a8b64f8652acb4a735aa2b8dc81c8fa064
parent555132824a9e28993a22c1fb1933287999d5733a
[pr19844] Add thread local mode to aliases.

This matches gcc's behavior. It also seems natural given that aliases
contain other properties that govern how it is accessed (linkage,
visibility, dll storage).

Clang still has to be updated to expose this feature to C.

llvm-svn: 209759
18 files changed:
llvm/docs/LangRef.rst
llvm/include/llvm/IR/GlobalValue.h
llvm/include/llvm/IR/GlobalVariable.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/AsmParser/LLParser.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/IR/AsmWriter.cpp
llvm/lib/IR/Globals.cpp
llvm/lib/Target/AArch64/AArch64FastISel.cpp
llvm/lib/Target/PowerPC/PPCFastISel.cpp
llvm/lib/Target/TargetMachine.cpp
llvm/lib/Target/X86/X86FastISel.cpp
llvm/test/CodeGen/Mips/tls-alias.ll
llvm/test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll
llvm/test/CodeGen/X86/aliases.ll
llvm/test/Feature/alias2.ll