diff options
| author | Markus Böck <markus.boeck02@gmail.com> | 2021-12-13 15:09:16 +0100 |
|---|---|---|
| committer | Markus Böck <markus.boeck02@gmail.com> | 2021-12-13 15:09:16 +0100 |
| commit | 664cc9312cf5e670a58f841c3ac6e7e6b930ba0a (patch) | |
| tree | 3fbc56ada366e67bd5a39a5bbaa9f7bac5a303d4 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 28345d7f6fc220c9a001f0ecb5fee634276abfd1 (diff) | |
[mlir] Implement `DataLayoutTypeInterface` for `LLVMStructType`
Using this implementation of the interface it is possible to query the size, ABI alignment as well as the preferred alignment of a struct. It should yield the same results as LLVMs `llvm::DataLayout` on an equivalent `llvm::StructType`, including for packed structs.
Additionally it is also possible to increase the ABI and preferred alignment using a data layout entry with the type `llvm.struct<()>, which serves the same functionality as the `a:` component in LLVMs data layout string.
Differential Revision: https://reviews.llvm.org/D115600
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
