aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2024-10-31 09:32:01 +0800
committerGitHub <noreply@github.com>2024-10-31 09:32:01 +0800
commite9b7fe8e5a5819cb632d02529712535ca1b83f02 (patch)
treef9d42b65e3e34c68ba92fb9fe0de646a79bdbb3c /lldb/source/Plugins/ScriptInterpreter/Python
parent3243e3d8872585091d65ea7ff0639155b4c1dd7a (diff)
downloadllvm-e9b7fe8e5a5819cb632d02529712535ca1b83f02.zip
llvm-e9b7fe8e5a5819cb632d02529712535ca1b83f02.tar.gz
llvm-e9b7fe8e5a5819cb632d02529712535ca1b83f02.tar.bz2
[clangd] [Modules] Use ASTReader directly in IsModuleFileUpToDate (#113879)
@kadircet mentioned in https://github.com/llvm/llvm-project/commit/448d8fa880be5cae0f63c3b248f07f647013a5a4#diff-fb3ba8a781117ff04736f951a274812cb7ad1678f9d71d4d91870b711ab45da0L285 that: > this is definitely a functional change, clangd is used in environments that solely relies on VFS, and doesn't depend on ASTUnit at all. > right now this is both introducing a dependency on ASTUnit, and making all the logical IO physical instead. can you instead use the regular compiler utilities in clangd, and get the astreader from CompilerInstance directly, which is VFS-aware, and doesn't depend on ASTUnit ? This tries to resolve the problem by creating ASTReader directly and use VFS to create the FileManager.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions