diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-28 18:15:43 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-28 18:15:43 +0000 |
commit | 665d42accf60bba6444ef7be8cd9e89d7aac177a (patch) | |
tree | efb2e30f95ed5a1ce716d20e03f208e12f59f8bd /test/Feature | |
parent | a5423f2598c8579fd5438f71048467db9d13abcd (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r-- | test/Feature/alias2.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Feature/alias2.ll b/test/Feature/alias2.ll index 693ef7c9bef..4334a620171 100644 --- a/test/Feature/alias2.ll +++ b/test/Feature/alias2.ll @@ -17,3 +17,6 @@ @v6 = alias i16, i32* @v1 ; CHECK: @v6 = alias i16, i32* @v1 + +@v7 = thread_local(localdynamic) alias i32* @v1 +; CHECK: @v7 = thread_local(localdynamic) alias i32* @v1 |