Displaying 4 results from an estimated 4 matches for "dispatch_object_".
Did you mean:
dispatch_object_s
2012 Dec 14
2
[LLVMdev] StructType for dispatch_object_t changed by Linker
Duncan, thanks for your reply.
> Probably the types are not defined precisely the same in each module (maybe you
> could send the exact definitions in each module to the mailing list?),
In the module loaded in Step 1 (otherModule):
%struct.dispatch_group_s = type opaque
%union.dispatch_object_t = type { %struct.dispatch_object_s* }
%struct.dispatch_object_s = type opaque
In the module generated in Step 2 (mainModule):
%struct.dispatch_group_s = type {}
%union.dispatch_object_t = type { %struct.dispatch_object_s* }
%struct.dispatch_object_s = type {}
(The LLVM API calls to generate ma...
2012 Dec 14
0
[LLVMdev] StructType for dispatch_object_t changed by Linker
...t;
>> Probably the types are not defined precisely the same in each module (maybe you
>> could send the exact definitions in each module to the mailing list?),
>
>
> In the module loaded in Step 1 (otherModule):
>
> %struct.dispatch_group_s = type opaque
> %union.dispatch_object_t = type { %struct.dispatch_object_s* }
> %struct.dispatch_object_s = type opaque
>
> In the module generated in Step 2 (mainModule):
>
> %struct.dispatch_group_s = type {}
> %union.dispatch_object_t = type { %struct.dispatch_object_s* }
> %struct.dispatch_object_s = type {}...
2012 Dec 14
2
[LLVMdev] StructType for dispatch_object_t changed by Linker
Hi, everyone. I've run into a strange problem generating code that contains the `dispatch_object_t` type.
The problem happens when a program does these steps (all with the global LLVMContext):
1. Loads a module (otherModule) that uses `dispatch_object_t`.
2. Generates code that calls `dispatch_release`, which takes a `dispatch_object_t` argument, into a module (mainModule).
3. Links ot...
2012 Dec 14
0
[LLVMdev] StructType for dispatch_object_t changed by Linker
Hi Jaymie,
...
> Step 2: %union.dispatch_object_t = type { %struct.dispatch_object_s* }
> Step 4: %union.dispatch_object_t = type { %struct.dispatch_object_s.1* }
>
> Code that reproduces the problem is at http://pastebin.com/pxveBUJa and
> http://pastebin.com/GDb9n9xA.
>
> A workaround is to call
> `StructType::create(mod-&g...