aboutsummaryrefslogtreecommitdiff
path: root/lld/utils/linker-script-test/linker-script-test.cpp
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-02-03 10:05:54 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-02-03 10:05:54 +0000
commit0d51c1563b8c37ee34a82e7f7592d7a27ba28822 (patch)
tree88da8fb8d5e4de42d1a180c148515871bd06d53f /lld/utils/linker-script-test/linker-script-test.cpp
parente03491d39074a28585f7d4b8eebc88ad24d69aab (diff)
downloadllvm-0d51c1563b8c37ee34a82e7f7592d7a27ba28822.zip
llvm-0d51c1563b8c37ee34a82e7f7592d7a27ba28822.tar.gz
llvm-0d51c1563b8c37ee34a82e7f7592d7a27ba28822.tar.bz2
Fix CLI commands in lldb-mi.
This patch fixes execution of CLI commands in MI mode. The CLI commands are executed using "-interpreter-exec" command. The bug was in the CMICmnLLDBDebugSessionInfo class which contained the following members: SBProcess, SBTarget, SBDebugger and SBListener, but CLI commands don't affect them and they aren't updated. Therefore some members can contain incorrect (or obsolete) reference and it can cause an error. My patch removes these members and uses getters that provides the updated instance every time it is used. Patch from Ilia K ki.stfu@gmail.com. Approved by Greg. llvm-svn: 227958
Diffstat (limited to 'lld/utils/linker-script-test/linker-script-test.cpp')
0 files changed, 0 insertions, 0 deletions