llvm/test/CodeGen
Chih-Hung Hsieh 08ba2ca688 [TLS] New lower emutls pass, fix linkage bugs.
Previous implementation in http://reviews.llvm.org/D10522
created external references to __emutls_v.* variables.
Such references are inaccurate and cannot be handled by
all linkers, e.g. Android dynamic and gold linkers for aarch64.

Now a new LowerEmuTLS pass to go through all global variables,
and add emutls_v.* and emutls_t.* variables.
These __emutls* variables have the same linkage and
visibility as the associated user defined TLS variable.

Also removed old code that dump __emutls* variables in AsmPrinter.cpp,
and updated TLS unit tests.

Differential Revision: http://reviews.llvm.org/D15300



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257718 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-13 23:56:37 +00:00
..
AArch64 [TLS] New lower emutls pass, fix linkage bugs. 2016-01-13 23:56:37 +00:00
AMDGPU AMDGPU/SI: Update ISA version for FIJI 2016-01-13 20:39:25 +00:00
ARM [TLS] New lower emutls pass, fix linkage bugs. 2016-01-13 23:56:37 +00:00
BPF Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
CPP Fix CPP Backend for GEP API changes for opaque pointer types 2015-09-08 18:42:29 +00:00
Generic [gc.statepoint] Change gc.statepoint intrinsic's return type to token type instead of i32 type 2015-12-26 07:54:32 +00:00
Hexagon [Hexagon] Do not insert non-phis before phis in bit simplification 2016-01-13 15:48:18 +00:00
Inputs DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
Mips [mips] Correct operand order in DSP's mthi/mtlo 2016-01-12 15:15:14 +00:00
MIR Re-Revert r257105 (Verifier debug info changes) 2016-01-13 02:31:14 +00:00
MSP430 Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
NVPTX Have a single way for creating unique value names. 2015-11-22 00:16:24 +00:00
PowerPC [PowerPC] Fix large code model with the ELFv2 ABI 2016-01-13 13:12:23 +00:00
SPARC [SPARC] Revamp AnalyzeBranch and add ReverseBranchCondition. 2016-01-13 04:44:14 +00:00
SystemZ [SystemZ] Fix assertion failure in adjustSubwordCmp 2015-12-16 18:04:06 +00:00
Thumb [Thumb] Fix assembler error 'cannot honor width suffix pop {lr}' 2015-12-28 21:40:45 +00:00
Thumb2 Fix test case label check 2015-11-20 20:24:49 +00:00
WebAssembly [WebAssembly] MCFixupKindInfo's TargetSize is in bits rather than bytes. 2016-01-13 19:29:37 +00:00
WinEH [WinEH] Disallow cyclic unwinds 2016-01-10 04:31:05 +00:00
X86 [TLS] New lower emutls pass, fix linkage bugs. 2016-01-13 23:56:37 +00:00
XCore Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00