Displaying 2 results from an estimated 2 matches for "addrspace256".
Did you mean:
addrspace2
2009 Oct 19
2
[LLVMdev] Using address space attribute in LLVM
...LVM, I got a warning.
Thanks in advance,
Juan Carlos
-----------------------------
Code used:
#define GS_RELATIVE __attribute__((address_space(256)))
int foo(int GS_RELATIVE *P) {
return *P;
}
int main(){
return (1);
}
------------------------------
LLVM messsage:
~/test$ llvm-gcc addrspace256.c -emit-llvm -o -
addrspace256.c:2: warning: 'address_space' attribute directive ignored
/tmp/ccpdq1E2.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
--
Juan Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <...
2009 Oct 19
0
[LLVMdev] Using address space attribute in LLVM
...--------------
>
> Code used:
>
> #define GS_RELATIVE __attribute__((address_space(256)))
> int foo(int GS_RELATIVE *P) {
> return *P;
> }
> int main(){
> return (1);
> }
> ------------------------------
>
> LLVM messsage:
>
> ~/test$ llvm-gcc addrspace256.c -emit-llvm -o -
> addrspace256.c:2: warning: 'address_space' attribute directive ignored
> /tmp/ccpdq1E2.o: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
>
>
> --
> Juan Carlos
> _____________________________________________...