[PATCH] D33041: [ELF] - Set DF_STATIC_TLS flag for x86_64 target.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 05:56:12 PDT 2017


>> @@ -0,0 +1,12 @@
>> +# REQUIRES: x86
>> +
>> +# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %S/Inputs/x86-64-static-tls-model1.s -o %t.o
>> +# RUN: ld.lld %t.o -o %t1 -shared
>> +# RUN: llvm-readobj -dynamic-table %t1 | FileCheck %s
>> +
>> +# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %S/Inputs/x86-64-static-tls-model2.s -o %t.o
>> +# RUN: ld.lld %t.o -o %t2 -shared
>> +# RUN: llvm-readobj -dynamic-table %t2 | FileCheck %s
>
>Why do you need two input files?
>
>Cheers,
>Rafael

Each input file has different relocation I am testing, 
that is consistent with testcase done for i386, which has 4 inputs.

Do you prefer to move contents of one of inputs to main test file ?

George.


More information about the llvm-commits mailing list