[Lldb-commits] [lldb] [lldb][split-dwarf] Add --errors-only argument separate-debug-info list (PR #71000)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 2 10:33:54 PDT 2023


================
@@ -445,7 +445,11 @@ class SymbolFile : public PluginInterface {
   ///     contains the keys "type", "symfile", and "separate-debug-info-files".
   ///     "type" can be used to assume the structure of each object in
   ///     "separate-debug-info-files".
-  virtual bool GetSeparateDebugInfo(StructuredData::Dictionary &d) {
+  /// \param errors_only
+  ///     If true, then only return separate debug info files that encountered
+  ///     errors during loading.
+  virtual bool GetSeparateDebugInfo(StructuredData::Dictionary &d,
+                                    bool errors_only) {
----------------
bulbazord wrote:

I see. Does `GetSeparateDebugInfo` return all the successful entries and all the errors if `errors_only` is off? I guess what I'm asking is, is the flag there to filter or change the behavior entirely?

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


More information about the lldb-commits mailing list