[PATCH] D78500: [DWARF5]:Added support for .debug_macro.dwo section in llvm-dwarfdump

Sourabh Singh Tomar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 09:10:40 PDT 2020


SouraVX marked an inline comment as done.
SouraVX added inline comments.


================
Comment at: llvm/test/DebugInfo/X86/debug-macro-dwo.s:59
+	.long	65
+	.section	.debug_info.dwo,"e", at progbits
+	.long	.Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit
----------------
Primary reason why this test case contains `debug_info` and other sections too, because `llvm-dwarfdump` , as of now, uses DWARF version number present in Header to distinguish between version 5 `debug_str_offsets.dwo` and pre-standardized str_offset section. 
As a result if we try to reduce this test case to minimal, then we'll end up parsing the contents incorrectly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78500





More information about the llvm-commits mailing list