[Lldb-commits] [PATCH] D59562: [SymbolFileDWARF] Introduce DWARFContext

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 20 05:45:14 PDT 2019

labath added inline comments.

Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.h:28
+  void SetDwarfData(const DWARFDataExtractor &dwarf);
Don't want to block progress here over this, but I just wanted to say that my impression was that this DwarfData business was a relict from the time when we re not mmapping the input object files. These days, we always mmap the input, and so I don't believe that should be necessary because ObjectFileMachO will automatically perform the DataBuffer slicing that you're doing here manually as a part of ReadSectionData.

Maybe one of the Apple folks could check whether this is really needed, because if it isn't, it will make your job easier here, as well as produce an API that is more similar to its llvm counterpart.



More information about the lldb-commits mailing list