aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2022-07-06 13:29:48 -0500
committerChris Bieneman <chris.bieneman@me.com>2022-07-28 08:49:50 -0500
commit6e56d0dbe3c89d3cd5730a57b9049b74e0bf605f (patch)
tree9211b415a19376df531a6866b8b0255f1cf6e511 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
parentbd08f413c089da5a56438cc8902f60df91a08a66 (diff)
downloadllvm-6e56d0dbe3c89d3cd5730a57b9049b74e0bf605f.zip
llvm-6e56d0dbe3c89d3cd5730a57b9049b74e0bf605f.tar.gz
llvm-6e56d0dbe3c89d3cd5730a57b9049b74e0bf605f.tar.bz2
Start support for HLSL `RWBuffer`
Most of the change here is fleshing out the HLSLExternalSemaSource with builder implementations to build the builtin types. Eventually, I may move some of this code into tablegen or a more managable declarative file but I want to get the AST generation logic ready first. This code adds two new types into the HLSL AST, `hlsl::Resource` and `hlsl::RWBuffer`. The `Resource` type is just a wrapper around a handle identifier, and is largely unused in source. It will morph a bit over time as I work on getting the source compatability correct, but for now it is a reasonable stand-in. The `RWBuffer` type is not ready for use. I'm posting this change for review because it adds a lot of infrastructure code and is testable. There is one change to clang code outside the HLSL-specific logic here, which addresses a behavior change introduced a long time ago in 967d438439ac. That change resulted in unintentionally breaking situations where an incomplete template declaration was provided from an AST source, and needed to be completed later by the external AST. That situation doesn't happen in the normal AST importer flow, but can happen when an AST source provides incomplete declarations of templates. The solution is to annotate template specializations of incomplete types with the HasExternalLexicalSource bit from the base template. Depends on D128012. Differential Revision: https://reviews.llvm.org/D128569
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions