[Lldb-commits] [lldb] Expose DWARFDIE::GetDeclContext() in lldb_private::Function. (PR #69981)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 23 17:15:20 PDT 2023


================
@@ -322,10 +322,12 @@ std::vector<CompilerContext> parseCompilerContext() {
     }
     result.push_back({kind, ConstString{value}});
   }
-  outs() << "Search context: {\n";
-  for (auto entry: result)
-    entry.Dump();
-  outs() << "}\n";
+  outs() << "Search context: {";
+  lldb_private::StreamString s;
+  llvm::interleave(
----------------
adrian-prantl wrote:

Yes, that is even shorter!

https://github.com/llvm/llvm-project/pull/69981


More information about the lldb-commits mailing list