Commit
e52bc1d2bba794bfb004d35a395a2e3a8e69f9cb
by yuanke.luo[X86] Add chain in ISel for x86_tdpbssd_internal intrinsic.
|
 | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp |
Commit
2634ec6ce9007f2406545ca28b4c72961f1e8f67
by Tatyana Krasnukha[lldb] "target create" shouldn't save target if the command failed
TargetList::CreateTarget automatically adds created target to the list, however, CommandObjectTargetCreate does some additional preparation after creating a target and which can fail. The command should remove created target if it failed. Since the function has many ways to return, scope guard does this work safely.
Changes to the TargetList make target adding and selection more transparent.
Other changes remove unnecessary SetSelectedTarget after CreateTarget.
Differential Revision: https://reviews.llvm.org/D93052
|
 | lldb/source/Commands/CommandObjectTarget.cpp |
 | lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp |
 | lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp |
 | lldb/source/Target/Platform.cpp |
 | lldb/source/Target/TargetList.cpp |
 | lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp |
 | lldb/unittests/Thread/ThreadTest.cpp |
 | lldb/include/lldb/Target/TargetList.h |
 | lldb/source/API/SBDebugger.cpp |
 | lldb/unittests/Process/ProcessEventDataTest.cpp |
 | lldb/source/Target/TraceSessionFileParser.cpp |
 | lldb/source/Commands/CommandObjectProcess.cpp |
Commit
7832d7e95ace589b2275bafe701ccb377a16b1b2
by Tatyana Krasnukha[lldb] Modernize TargetList for-loops, NFC
Replace loops with standard algorithms or range-based loops.
|
 | lldb/source/Target/TargetList.cpp |
Commit
a01b26fb51c710a3a8ef88cc83b0701461f5b9ab
by Tatyana Krasnukha[lldb] Make CommandInterpreter's execution context the same as debugger's one.
Currently, the interpreter's context is not updated until a command is executed. This has resulted in the behavior of SB-interface functions and some commands depends on previous user actions. The interpreter's context can stay uninitialized, point to a currently selected target, or point to one of previously selected targets.
This patch removes any usages of CommandInterpreter::UpdateExecutionContext. CommandInterpreter::HandleCommand* functions still may override context temporarily, but now they always restore it before exiting. CommandInterpreter saves overriden contexts to the stack, that makes nesting commands possible.
Added test reproduces one of the issues. Without this fix, the last assertion fails because interpreter's execution context is empty until running "target list", so, the value of the global property was updated instead of process's local instance.
Differential Revision: https://reviews.llvm.org/D92164
|
 | lldb/source/Commands/CommandObjectRegexCommand.cpp |
 | lldb/source/Commands/CommandObjectExpression.cpp |
 | lldb/source/Interpreter/CommandInterpreter.cpp |
 | lldb/source/Commands/CommandObjectWatchpointCommand.cpp |
 | lldb/source/Core/IOHandlerCursesGUI.cpp |
 | lldb/include/lldb/Interpreter/CommandInterpreter.h |
 | lldb/source/Commands/CommandObjectSettings.cpp |
 | lldb/source/Breakpoint/BreakpointOptions.cpp |
 | lldb/source/Commands/CommandObjectProcess.cpp |
 | lldb/source/Target/Target.cpp |
 | lldb/test/API/python_api/debugger/main.cpp |
 | lldb/test/API/python_api/debugger/TestDebuggerAPI.py |
 | lldb/source/API/SBCommandInterpreter.cpp |
 | lldb/source/Commands/CommandObjectCommands.cpp |
 | lldb/test/API/python_api/debugger/Makefile |