[Lldb-commits] [PATCH] D46588: [LLDB][lldb-mi] Add possibility to set breakpoints without selecting a target.

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 9 09:31:37 PDT 2018


aprantl added a comment.

Okay, that's no good. What would you think about writing tests using lit & FileCheck? The lldb-mi tests should not be in the debuginfo category anyway, since they only test the alternative driver.

  $ cat lldb-mi-demo.input
  -file-exec-and-symbols a.out
  -break-insert -f main
  ...
  
  $ cat lldb-mi-demo.test
  RUN: %cc test.c -g
  RUN: %lldb-mi <lldb-mi-demo.input | FileCheck %s
  CHECK: \^done
  CHECK: \^done,bkpt={number=\"1\"")
  ...


Repository:
  rL LLVM

https://reviews.llvm.org/D46588





More information about the lldb-commits mailing list