[Lldb-commits] [lldb] [LLDB][NFC] Added the interface DWARFExpression::Delegate to break dependencies and reduce lldb-server size (PR #131645)

Dmitry Vasilyev via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 24 04:31:24 PDT 2025


================
@@ -37,7 +36,6 @@
 #include "lldb/Target/StackID.h"
 #include "lldb/Target/Target.h"
 #include "lldb/Target/Thread.h"
-#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
 #include "llvm/DebugInfo/DWARF/DWARFExpression.h"
 
 #include "Plugins/SymbolFile/DWARF/DWARFUnit.h"
----------------
slydiman wrote:

We have some kind of misunderstanding.
I have removed the line `#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"` from `lldb/source/Expression/DWARFExpression.cpp` It is just an optimization. I can keep it. What should I remove and where?

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


More information about the lldb-commits mailing list