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.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59562/new/

https://reviews.llvm.org/D59562



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to