================
@@ -321,6 +322,7 @@ class SymbolFileDWARF : public SymbolFileCommon {
     m_file_index = file_index;
   }
 
+protected:
----------------
walter-erquinigo wrote:

My bad for merging this, but I beg you not to reintroduce it. I originally 
intended to have an isolated patch just for this change, but I forgot about it 
after being able to build my project. In fact, I'm working on an out-of-tree 
dwarf parser plugin for the new language Mojo, and it requires accessing the 
methods that were originally marked as protected. 
Logically, DWARFASTParserClang is able to exist thanks to being a friend class 
to this one, and my plugin needs the same visibility, but for obvious reasons 
it cannot be declared a friend of this class.

https://github.com/llvm/llvm-project/pull/69990
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to