llvm-6502/lib
Rafael Espindola ef72e73da9 Use alias linkage and visibility to decide tls access mode.
This matches both what we do for the non-thread case and what gcc does.

With this patch clang would match gcc's behaviour in

static __thread int a = 42;
extern __thread int b __attribute__((alias("a")));
int *f(void) { return &a; }
int *g(void) { return &b; }

if not for pr19843. Manually writing the IL does produce the same access modes.

It is also a step in the direction of fixing pr19844.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209543 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-23 19:16:56 +00:00
..
Analysis ScalarEvolution: Fix handling of AddRecs in isKnownPredicate 2014-05-23 00:06:56 +00:00
AsmParser
Bitcode
CodeGen Add FIXME comment based on code review feedback by Hal Finkel on r209338 2014-05-23 16:53:14 +00:00
DebugInfo
ExecutionEngine [RuntimeDyld] Remove relocation bounds check introduced in r208375 (MachO only). 2014-05-23 18:35:44 +00:00
IR Remove LLVMContextImpl::optimizationRemarkEnabledFor. 2014-05-22 17:19:01 +00:00
IRReader
LineEditor
Linker
LTO Aliases are always definition, delete dead code. 2014-05-23 15:18:06 +00:00
MC MC: initialise MCAsmParser variable 2014-05-22 06:02:59 +00:00
Object [YAML] Add an optional argument EnumMask to the yaml::IO::bitSetCase(). 2014-05-23 08:07:09 +00:00
Option
ProfileData
Support Fixup sys::getHostCPUFeatures crypto names so it doesn't clash with kernel headers 2014-05-23 10:14:13 +00:00
TableGen
Target Use alias linkage and visibility to decide tls access mode. 2014-05-23 19:16:56 +00:00
Transforms Add the extracted constant offset using GEP 2014-05-23 18:39:40 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile