[PATCH] D67569: [lldb-vscode] correctly handle multiple sourceMap entries

Alex Langford via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 14:16:48 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL373016: [lldb-vscode] correctly handle multiple sourceMap entries (authored by xiaobai, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D67569?vs=220163&id=222025#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67569/new/

https://reviews.llvm.org/D67569

Files:
  lldb/trunk/tools/lldb-vscode/lldb-vscode.cpp


Index: lldb/trunk/tools/lldb-vscode/lldb-vscode.cpp
===================================================================
--- lldb/trunk/tools/lldb-vscode/lldb-vscode.cpp
+++ lldb/trunk/tools/lldb-vscode/lldb-vscode.cpp
@@ -436,7 +436,7 @@
       }
       auto mapFrom = GetAsString((*mapping)[0]);
       auto mapTo = GetAsString((*mapping)[1]);
-      strm << "\"" << mapFrom << "\" \"" << mapTo << "\"";
+      strm << "\"" << mapFrom << "\" \"" << mapTo << "\" ";
     }
   } else {
     if (ObjectContainsKey(arguments, "sourceMap")) {
@@ -2582,7 +2582,7 @@
 #undef REQUEST_CALLBACK
   return g_request_handlers;
 }
-  
+
 } // anonymous namespace
 
 int main(int argc, char *argv[]) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67569.222025.patch
Type: text/x-patch
Size: 689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190926/2a3df75c/attachment.bin>


More information about the llvm-commits mailing list