[PATCH] D63110: Fix a crash in option parsing.

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 02:28:40 PDT 2019


mgorny added a comment.

The added test broke NetBSD buildbot: http://lab.llvm.org:8011/builders/netbsd-amd64/builds/109/steps/run%20unit%20tests/logs/FAIL%3A%20LLDB%3A%3ATestProcessAttach.test

Apparently this doesn't work as expected here:

  $ /home/mgorny/llvm-project/build-rel-master/bin/lldb --no-lldbinit -S /home/mgorny/llvm-project/llvm/tools/lldb/lit/lit-lldb-init -x -b -S /home/mgorny/llvm-project/lldb/lit/Driver/Inputs/process_attach_pid.in                                                                          
  (lldb) command source -s 0 '/home/mgorny/llvm-project/llvm/tools/lldb/lit/lit-lldb-init'                                                          
  Executing commands in '/home/mgorny/llvm-project/llvm/tools/lldb/lit/lit-lldb-init'.                                                              
  (lldb) # LLDB init file for the LIT tests.
  (lldb) settings set symbols.enable-external-lookup false
  (lldb) settings set interpreter.echo-comment-commands false
  (lldb) command source -s 0 '/home/mgorny/llvm-project/lldb/lit/Driver/Inputs/process_attach_pid.in'                                               
  Executing commands in '/home/mgorny/llvm-project/lldb/lit/Driver/Inputs/process_attach_pid.in'.                                                   
  (lldb) process attach --pid
  error: unknown or ambiguous option


Repository:
  rL LLVM

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

https://reviews.llvm.org/D63110





More information about the llvm-commits mailing list