Displaying 2 results from an estimated 2 matches for "gdb9n9xa".
2012 Dec 14
2
[LLVMdev] StructType for dispatch_object_t changed by Linker
...n 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 retypes IR objects". Except t...
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://blog.llvm.org/2011/11/llvm-30-type-s...