[PATCH] D53907: [DWARFv5] Read and dump multiple .debug_info sections

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 30 15:26:41 PDT 2018


probinson added a comment.

I reordered the units in the test file, because llvm-dwarfdump will dump all the .debug_info bits before going on to the .debug_types bits.  The order of the sections in the file doesn't matter, but the order of the CHECKs does, and this was the simplest way to deal with it.

The lld change is just to match the API change.  LLD's only interest in .debug_info is so it can find the .debug_line section for reporting source info in diagnostics. It might need some finagling once we actually start emitting type units in .debug_info, because LLD wants the CU not a TU and currently it will take whatever is first.


Repository:
  rL LLVM

https://reviews.llvm.org/D53907





More information about the llvm-commits mailing list