search for: pxvebuja

Displaying 2 results from an estimated 2 matches for "pxvebuja".

2012 Dec 14
2
[LLVMdev] StructType for dispatch_object_t changed by Linker
...ect_t")` is different between Step 2 and Step 4. According to `Type::dump()`, it is: 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->getContext(), "union.dispatch_object_t")` before doing Step 1. This sounds like what Chris was talking about in his blog post on the LLVM 3.0 type system, "The Linker 'links' types and r...
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->getContext(), "union.dispatch_object_t")` before doing > Step 1. > > This sounds like what Chris was talking about in his blog post on the LLVM 3.0 > type system <http:...