[Lldb-commits] [PATCH] D129338: Tell the user which pathname was invalid...

2022-07-18 Thread Jim Ingham via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGe83d47f6b7bd: When the module path for `command script import` is invalid, echo the path. (authored by jingham). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org

[Lldb-commits] [PATCH] D129338: Tell the user which pathname was invalid...

2022-07-15 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere accepted this revision. JDevlieghere added a comment. This revision is now accepted and ready to land. LGTM Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129338/new/ https://reviews.llvm.org/D129338 ___

[Lldb-commits] [PATCH] D129338: Tell the user which pathname was invalid...

2022-07-15 Thread Jim Ingham via Phabricator via lldb-commits
jingham updated this revision to Diff 445145. jingham added a comment. I added the pathname to the "invalid directory" output, but when the test passes an invalid directory we still execute the "invalid pathname" branch but not the "invalid directory" branch. I don't know enough about the llvm

[Lldb-commits] [PATCH] D129338: Tell the user which pathname was invalid...

2022-07-08 Thread David Spickett via Phabricator via lldb-commits
DavidSpickett added inline comments. Comment at: lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp:2640 if (!pathname || !pathname[0]) { -error.SetErrorString("invalid pathname"); +error.SetErrorString("empty path"); return false; -

[Lldb-commits] [PATCH] D129338: Tell the user which pathname was invalid...

2022-07-07 Thread Will Hawkins via Phabricator via lldb-commits
hawkinsw added inline comments. Comment at: lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp:2717 if (module_file.GetDirectory().IsEmpty()) { error.SetErrorString("invalid directory name"); return false; Sorry for

[Lldb-commits] [PATCH] D129338: Tell the user which pathname was invalid...

2022-07-07 Thread Jim Ingham via Phabricator via lldb-commits
jingham created this revision. jingham added a reviewer: JDevlieghere. Herald added a project: All. jingham requested review of this revision. Herald added a project: LLDB. Herald added a subscriber: lldb-commits. When there's an error with the pathname in "command script import" lldb just says "