[Lldb-commits] [PATCH] D133038: Add GetSourceMap public API
jeffrey tan via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 31 11:46:57 PDT 2022
yinghuitan created this revision.
yinghuitan added reviewers: clayborg, labath, aadsm, kusmour.
Herald added a project: All.
yinghuitan requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
This patch adds a new SBTarget::GetSourceMap() API which returns a JSON struct
for client to access source mapping entries.
This can be used later by auto deduce source map from source line breakpoint
feature for testing purpose.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133038
Files:
lldb/bindings/interface/SBTarget.i
lldb/include/lldb/API/SBTarget.h
lldb/include/lldb/Target/PathMappingList.h
lldb/source/API/SBTarget.cpp
lldb/source/Target/PathMappingList.cpp
lldb/test/API/functionalities/source-map/TestTargetSourceMap.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133038.457045.patch
Type: text/x-patch
Size: 5444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220831/17bec1b5/attachment.bin>
More information about the lldb-commits
mailing list