[Lldb-commits] [PATCH] D77186: [source maps] Ensure all valid source maps are added instead of failing with the first invalid one
    walter erquinigo via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Tue Mar 31 17:39:31 PDT 2020
    
    
  
wallace created this revision.
wallace added reviewers: clayborg, labath, kusmour, aadsm.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Several lldb-vscode users have noticed that when a source map rule is invalid (because a folder doesn't exist anymore), the rest of the source maps from their configurations are not applied.
This happens because lldb-vscode executes a single "settings set target.source-map" command with all the source maps and LLDB processes them one by one until one fails.
Instead of doing this, we can process in LLDB all the source map rules and apply the valid ones instead of failing fast.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D77186
Files:
  lldb/source/Interpreter/OptionValuePathMappings.cpp
  lldb/test/API/functionalities/source-map/TestTargetSourceMap.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77186.254049.patch
Type: text/x-patch
Size: 5847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200401/a0e644cf/attachment.bin>
    
    
More information about the lldb-commits
mailing list