summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-05-28 12:11:37 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-05-28 12:11:37 +0000
commit981a35d81edf6bc1ec13eed142478a9533a91377 (patch)
tree371697d450cd3c694779aa0bbd662b8efbb7118d /lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949
parent30b04b1861931efc83f4b236a4a111ef618703cf (diff)
downloadbcm5719-llvm-981a35d81edf6bc1ec13eed142478a9533a91377.tar.gz
bcm5719-llvm-981a35d81edf6bc1ec13eed142478a9533a91377.zip
[clangd] Fix leak sanitizers warnings in clangd
The commit includes two changes: 1. Set DisableFree to false when building the ParsedAST. This is sane default, since clangd never wants to leak the AST. 2. Make sure CompilerInstance created in code completion is passed to the FrontendAction::BeginSourceFile call. We have to do this to make sure the memory buffers of remapped files are properly freed. Our tests do not produce any warnings under asan anymore. The changes are mostly trivial, just moving the code around. So sending without review. llvm-svn: 333370
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud