Displaying 1 result from an estimated 1 matches for "e7e2fb02".
2015 Jun 24
3
[LLVMdev] DataLayout
Hi all,
We have multiple DataLayout object in flight during a compilation: at least the one owned by the Module and the one owned by the TargetMachine.
There are two issues:
1) What if they differ? I guess we could assert at the beginning of CodeGen.
2) The DataLayout has internal mutable state (a cache of StructLayout).
The latter is my current concern: the cache in DataLayout is based on Type