diff options
| author | Nadeem, Usman <mnadeem@quicinc.com> | 2023-03-20 12:05:18 -0700 |
|---|---|---|
| committer | Nadeem, Usman <mnadeem@quicinc.com> | 2023-03-20 12:08:34 -0700 |
| commit | f67b481098cc30567d0f50a2b21f8f57b92052bd (patch) | |
| tree | 83bc7391f806a8072b5ac0bf89da02a32dd0e676 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | 59ff9d3777701ebbe6a59ab2edb8792ef3d2873f (diff) | |
[Flang] Exit gracefully with a useful message when we fail to lookup a target
Without this patch we were asserting with a generic message `Failed to
create Target`, but we already have a detailed error message stored in
the variable `error` after calling `lookupTarget()` but this error was not
getting used/printed.
With this patch we will emit a message with more details instead of a
stack dump with a generic message.
Differential Revision: https://reviews.llvm.org/D146333
Change-Id: I7ddee917cf921a2133ca3e6b35791b2142f770a2
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
