[Lldb-commits] [PATCH] D17848: Add reverse file remapping for breakpoint set

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 3 05:56:48 PST 2016


tberghammer created this revision.
tberghammer added reviewers: labath, clayborg.
tberghammer added a subscriber: lldb-commits.

Add reverse file remapping for breakpoint set

LLDB can remap a source file to a new directory based on the
"target.sorce-map" to handle the usecase when the source code moved
between the compilation and the debugging. Previously the remapping
was only used to display the content of the file. This CL fixes the
scenario when a breakpoint is set based on the new an absolute path
with adding an inverse remapping step before looking up the breakpoint
location.

http://reviews.llvm.org/D17848

Files:
  include/lldb/Target/PathMappingList.h
  packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
  source/Target/PathMappingList.cpp
  source/Target/Target.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17848.49732.patch
Type: text/x-patch
Size: 4791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160303/19cfbf93/attachment.bin>


More information about the lldb-commits mailing list