diff options
author | walter erquinigo <walter@modular.com> | 2023-04-25 14:46:34 -0500 |
---|---|---|
committer | walter erquinigo <walter@modular.com> | 2023-04-25 15:09:08 -0500 |
commit | 59a39c2fc91ed5b750083bc51dc43b6510a501b6 (patch) | |
tree | ef78938796baa439841fae19d146244a8dbfb6a5 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 6e54a57c61af6a959210f3628df9e21e3d7033f5 (diff) | |
download | llvm-59a39c2fc91ed5b750083bc51dc43b6510a501b6.zip llvm-59a39c2fc91ed5b750083bc51dc43b6510a501b6.tar.gz llvm-59a39c2fc91ed5b750083bc51dc43b6510a501b6.tar.bz2 |
[LLDB][REPL] Destroy the repl instances correctly
This change ensures that the REPL map inside Target is destroyed correctly when `Target::Destroy()` is invoked. Not doing so results in the REPL not finishing its job when the debugger is initialized in REPL mode reading from a file. In my particular case, my REPL doesn't print the stdout of the last expression in the input file unless I include this change.
Differential Revision: https://reviews.llvm.org/D149180
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions