================
@@ -252,4 +252,11 @@ std::string GetSBFileSpecPath(const lldb::SBFileSpec
&file_spec) {
return path;
}
+lldb::SBLineEntry GetLineEntryForAddress(lldb::SBTarget &target,
+ lldb::SBAddress &address) {
+ lldb::SBSymbolContext sc =
+ address.GetSymbolContext(target, lldb::eSymbolContextLineEntry);
+ return sc.GetLineEntry();
----------------
eronnen wrote:
Same reason as above, the current `SBAdress::GetLineEntry` don't apply source
maps because it doesn't have the target information
https://github.com/llvm/llvm-project/pull/141426
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits