Displaying 3 results from an estimated 3 matches for "_element1".
2009 Aug 23
3
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
...etelementptr( %0* @structure, i32 0, i32 1)
To this:
.subsections_via_symbols
.section __DATA,__data
.align 3
_structure: ##
@structure
.space 4
.long 1 ## 0x1
.globl _element1
.set _element1, _structure+4
.size _element1, 4
.type _element1, at object
The element1 symbol is an i32* pointing to element 1 in the structure
(the one emitted by .long 1).
There are really two questions here:
1) Do we want to be able to generate this kind of output at all...
2009 Aug 25
0
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
...gt;
> To this:
>
> .subsections_via_symbols
> .section __DATA,__data
> .align 3
> _structure: ##
> @structure
> .space 4
> .long 1 ## 0x1
>
> .globl _element1
> .set _element1, _structure+4
> .size _element1, 4
> .type _element1, at object
>
> The element1 symbol is an i32* pointing to element 1 in the
> structure (the one emitted by .long 1).
>
> There are really two questions here:
>
> 1) Do we want to be ab...
2009 Aug 25
1
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
...gt;
>> .subsections_via_symbols
>> .section __DATA,__data
>> .align 3
>> _structure: ## @structure
>> .space 4
>> .long 1 ## 0x1
>>
>> .globl _element1
>> .set _element1, _structure+4
>> .size _element1, 4
>> .type _element1, at object
>>
>> The element1 symbol is an i32* pointing to element 1 in the structure (the
>> one emitted by .long 1).
>>
>> There are really two questions here:
>&...