Displaying 2 results from an estimated 2 matches for "llvmcreateopaquetype".
2010 Jan 06
2
[LLVMdev] Correct way to resolve recursive type information?
...structures
are built in turn with references to other types being resolved from the
symbol table.
To make this work with LLVM I plan to:
- in the first type resolution pass, for every structured type in the
compiled source create a type handle referencing an opaque type with
LLVMCreateTypeHandle(LLVMCreateOpaqueType() and store it in the type's
symbol table entry
- in the second type resolution pass, create an LLVM structured type for
every structured type in the program. The element types for any referenced
types will be those types' opaque types
- in a third pass, for every structured type in the pro...
2010 Jan 06
0
[LLVMdev] Fwd: Correct way to resolve recursive type information?
...being resolved from the
>> symbol table.
>>
>> To make this work with LLVM I plan to:
>>
>> - in the first type resolution pass, for every structured type in the
>> compiled source create a type handle referencing an opaque type with
>> LLVMCreateTypeHandle(LLVMCreateOpaqueType() and store it in the type's
>> symbol table entry
>> - in the second type resolution pass, create an LLVM structured type for
>> every structured type in the program. The element types for any referenced
>> types will be those types' opaque types
>> - in a thi...