[Lldb-commits] [PATCH] D52403: [LLDB] - Support the single file split DWARF.

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 24 07:21:24 PDT 2018

labath added a comment.

I believe you should be able to use `lldb-test` to write this kind of a test. I am thinking of a sequence like:

  yaml2obj %p/Inputs/test.yaml > %t/test.yaml
  yaml2obj %p/Inputs/test.o.yaml > %t/test.o.yaml
  lldb-test breakpoint %t/test.yaml %s | FileCheck %s
  b main
  CHECK-LABEL: b main
  CHECK: Address: {{.*}}main + 13 at test.cpp:2:3
  b foo
  CHECK-LABEL: b foo
  CHECK: Address: {{.*}}foo() + 4 at test.cpp:6:1

You can look at existing tests in lit/Breakpoints for details.


More information about the lldb-commits mailing list