[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 13:10:15 PDT 2018


aprantl added a comment.

Got it. We certainly do have dependent checks in our current tests:

  # Test that -data-info-line works for address
  self.runCmd("-data-info-line *%#x" % addr)
  self.expect(
      "\^done,start=\"0x0*%x\",end=\"0x[0-9a-f]+\",file=\".+?main.cpp\",line=\"%d\"" %
      (addr, line))
  
  # Test that -data-info-line works for file:line
  self.runCmd("-data-info-line main.cpp:%d" % line)
  self.expect(
      "\^done,start=\"0x0*%x\",end=\"0x[0-9a-f]+\",file=\".+?main.cpp\",line=\"%d\"" %
      (addr, line))


Repository:
  rL LLVM

https://reviews.llvm.org/D46588





More information about the lldb-commits mailing list