labath added a comment.

In D75925#1915693 <https://reviews.llvm.org/D75925#1915693>, @clayborg wrote:

> Change looks good, just needs a test. Should be easy to take a simple binary 
> that has a .debug_aranges, and run obj2yaml on it, and tweak the segment size 
> as needed?


In this case I think the cleanest solution would be to write a c++ unit test: 
create a simple debug_aranges header (just hardcode bytes, nothing fancy), pass 
it to DWARFDebugArangesSet::extract, and check the result.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75925



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

Reply via email to