[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 5 15:54:18 PST 2024


================
@@ -241,7 +241,7 @@ class DWARFUnit : public UserID {
   FileSpec GetFile(size_t file_idx);
   FileSpec::Style GetPathStyle();
 
-  SymbolFileDWARFDwo *GetDwoSymbolFile();
+  SymbolFileDWARFDwo *GetDwoSymbolFile(bool load_if_needed = true);
----------------
bulbazord wrote:

Instead of having a bool here, you could make this an enum with 2 values. Something like this:
```
enum LoadMode : bool { eDoNotForceLoad, eForceLoad };
```

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


More information about the lldb-commits mailing list