search for: dispatch_release

Displaying 1 result from an estimated 1 matches for "dispatch_release".

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 otherModule into mainModule. 4. Generates more code that calls `dispatch_release`. In Step 4, the following failure occurs on the `CallInst::Create` call for `dispatch_release`: Assertion failed: ((i >= F...