aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2020-07-22 13:03:24 +0200
committerAlex Zinenko <zinenko@google.com>2020-07-27 13:07:44 +0200
commita51829913dba28dae603fdcdddd242c7e20192a1 (patch)
treeb25c5a77eab577d7719224e639c5c570aa4be686 /lldb/source/Commands/CommandObjectCommands.cpp
parent1956cf1042d3c406d9e9cefe47d3b43adf2bdbe1 (diff)
downloadllvm-a51829913dba28dae603fdcdddd242c7e20192a1.zip
llvm-a51829913dba28dae603fdcdddd242c7e20192a1.tar.gz
llvm-a51829913dba28dae603fdcdddd242c7e20192a1.tar.bz2
[mlir] Support for mutable types
Introduce support for mutable storage in the StorageUniquer infrastructure. This makes MLIR have key-value storage instead of just uniqued key storage. A storage instance now contains a unique immutable key and a mutable value, both stored in the arena allocator that belongs to the context. This is a preconditio for supporting recursive types that require delayed initialization, in particular LLVM structure types. The functionality is exercised in the test pass with trivial self-recursive type. So far, recursive types can only be printed in parsed in a closed type system. Removing this restriction is left for future work. Differential Revision: https://reviews.llvm.org/D84171
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions