Displaying 3 results from an estimated 3 matches for "7d96d23a".
2012 Feb 02
0
[LLVMdev] Disjoint types after reading several modules
On Jan 31, 2012, at 6:16 AM, Clemens Hammacher wrote:
> This is because each module contains its own type table with all the types used in that module. When reading in the corresponding bitcode, the BitcodeReader explicitly calls StructType::create, without looking up in the context whether an equivalent type (even with the same name) already exists.
> So I think that llvm is behaving
2012 Feb 02
2
[LLVMdev] Disjoint types after reading several modules
...need to use the same types.
Cheers,
Clemens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6392 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120202/7d96d23a/attachment.bin>
2012 Jan 31
2
[LLVMdev] Disjoint types after reading several modules
Dear community,
we are currently facing a problem related to the new type system in llvm
3.0.
Our setting is the following: We have two or more modules, all in the
same LLVMContext. They are sharing some types, meaning that for example
functions in different modules are referencing the same (meaning pointer
identical) type.
Now we write the different modules to the disk, and read them back