diff options
| author | Tim Northover <tnorthover@apple.com> | 2016-04-26 18:29:16 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2016-04-26 18:29:16 +0000 |
| commit | 4397837be2456454ef87fc5f56a791273acd4c3f (patch) | |
| tree | 1e2e758c6732a3a3e5b3e2bdf6db5661ee3d25d1 /llvm/test | |
| parent | 4d0dcb98918f65d0465e704578547913b61a8ddd (diff) | |
| download | bcm5719-llvm-4397837be2456454ef87fc5f56a791273acd4c3f.tar.gz bcm5719-llvm-4397837be2456454ef87fc5f56a791273acd4c3f.zip | |
Reapply: "ARM: put correct symbol index on indirect pointers in __thread_ptr.""
A latent bug in llvm-objdump used the wrong format specifier on 32-bit
targets, causing the test to fail. This fixes the issue.
llvm-svn: 267582
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/ARM/tls-directives.s | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/test/MC/ARM/tls-directives.s b/llvm/test/MC/ARM/tls-directives.s index c0e9f6cc142..69a02689289 100644 --- a/llvm/test/MC/ARM/tls-directives.s +++ b/llvm/test/MC/ARM/tls-directives.s @@ -1,5 +1,9 @@ @ RUN: llvm-mc -triple thumbv7-apple-ios -filetype=obj -o %t %s -@ RUN: llvm-objdump -p %t | FileCheck %s +@ RUN: llvm-objdump -macho -p -indirect-symbols %t | FileCheck %s + +@ CHECK: Indirect symbols for (__DATA,__thread_ptr) +@ CHECK: 0x0000001c 5 _a + @ CHECK: sectname __thread_data @ CHECK: segname __DATA |

