Displaying 2 results from an estimated 2 matches for "load_my_valu".
Did you mean:
load_my_value
2012 Aug 17
1
[LLVMdev] Generate data16 assembly instruction for TLS with PIC
Hi all,
System: x86-64 ubuntu 11.04
LLVM: 3.0
gcc: 4.5.2
I declare a thread_local global variable and access it in a function in
llvm IR.
for example,
@my_value = linkonce thread_local global %dummy* null
define void @test1() {
entry:
%load_my_value = load %dummy** @my_value
....
}
After that, I use the following command:
bash$ llc -relocation-model=pic test.ll
And I have test.s which is an assembly file.
I tried to build it with gcc, but I have the following warning
bash$ gcc -c test.s
test.s: Assembler messages:
test.s:43: Warning:...
2012 Dec 17
0
[LLVMdev] LLVMdev Digest, Vol 98, Issue 33
...;
> System: x86-64 ubuntu 11.04
> LLVM: 3.0
> gcc: 4.5.2
>
> I declare a thread_local global variable and access it in a function in
> llvm IR.
> for example,
>
> @my_value = linkonce thread_local global %dummy* null
>
> define void @test1() {
> entry:
> %load_my_value = load %dummy** @my_value
> ....
> }
>
> After that, I use the following command:
>
> bash$ llc -relocation-model=pic test.ll
>
> And I have test.s which is an assembly file.
>
> I tried to build it with gcc, but I have the following warning
>
> bash$ gcc -c...