aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2022-04-19 23:53:42 -0700
committerRiver Riddle <riddleriver@gmail.com>2022-04-26 18:33:17 -0700
commitfb5a59f6e1b9ec3192ecdc14b69ab83dafcf90f2 (patch)
treed788d9c15ca6cd163fb687fe764fe983855e7b57 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parent597fde54a8d6f19b5fe6563c0ba9f8b6b9158c28 (diff)
downloadllvm-fb5a59f6e1b9ec3192ecdc14b69ab83dafcf90f2.zip
llvm-fb5a59f6e1b9ec3192ecdc14b69ab83dafcf90f2.tar.gz
llvm-fb5a59f6e1b9ec3192ecdc14b69ab83dafcf90f2.tar.bz2
[mlir][PDLL] Add initial support for a PDLL compilation database
The compilation database acts in a similar way to the compilation database (compile_commands.json) used by clang-tidy, i.e. it provides additional information about the compilation of project files to help the language server. The main piece of information provided by the PDLL compilation database in this commit is the set of include directories used when processing the input .pdll file. This allows for the server to properly process .pdll files that use includes anchored by the include directories set up in the build system. The structure of the textual form of a compilation database is a yaml file containing documents of the following form: ``` --- !FileInfo: filepath: <string> - Absolute file path of the file. includes: <string> - Semi-colon delimited list of include directories. ``` This commit also adds support to cmake for automatically generating a `pdll_compile_commands.yml` file at the top-level of the build directory. Differential Revision: https://reviews.llvm.org/D124076
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions