[Lldb-commits] [PATCH] D20135: Keep original source path and mapped path in LineEntry
Ted Woodward via lldb-commits
lldb-commits at lists.llvm.org
Tue May 10 14:20:45 PDT 2016
ted created this revision.
ted added reviewers: jingham, clayborg.
ted added a subscriber: lldb-commits.
The "file" variable in a LineEntry was mapped using target.source-map, except when stepping through inlined code. This patch adds a new variable to LineEntry, "original_file", that contains the original file from the debug info. "file" will continue to (possibly) be mapped.
Some code has been changed to use "original_file". This is code dealing with symbols. Code dealing with source files will still use "file". Reviewers, please confirm that these particular changes are correct.
Tests run on Ubuntu 12.04 show no regression.
http://reviews.llvm.org/D20135
Files:
include/lldb/Symbol/LineEntry.h
source/Breakpoint/BreakpointResolver.cpp
source/Symbol/LineEntry.cpp
source/Symbol/LineTable.cpp
source/Symbol/SymbolContext.cpp
source/Target/StackFrame.cpp
source/Target/StackFrameList.cpp
source/Target/ThreadPlanStepOverRange.cpp
source/Target/ThreadPlanStepRange.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20135.56818.patch
Type: text/x-patch
Size: 11707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160510/20a8612b/attachment-0001.bin>
More information about the lldb-commits
mailing list