[Lldb-commits] [PATCH] D133352: [lldb-server] Report launch error in vRun packets

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 6 09:18:07 PDT 2022


labath added inline comments.


================
Comment at: lldb/test/API/tools/lldb-server/TestGdbRemoteLaunch.py:18
+        args = [exe_path, "stderr:arg1", "stderr:arg2", "stderr:arg3"]
+        hex_args = [seven.hexlify(x) for x in args]
+
----------------
mgorny wrote:
> Since we no longer support Python 2, I'd rather prefer to work towards removing `seven` rather than making more use of it.
Is the problem with the name/location of the function or the functionality (string/byte conversion) itself?
Because, if it's the first, then that could easily be solved by renaming the module (now or later), but in order to avoid elaborate casts we'd have to make all code be byte/string correct. This is not a problem here (because of the fixed strings), but it becomes one once you start working with things that aren't necessarily valid utf8 strings.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133352/new/

https://reviews.llvm.org/D133352



More information about the lldb-commits mailing list