Re: [Dwarf-Discuss] Legal top-level units

2017-10-10 Thread Jonas Devlieghere
> On 9 Oct 2017, at 21:47, Ron Brender wrote: > > DW_TAG_skeleton_unit -- yes. It will be the only DIE in the compilation. > DW_TAG_imported_unit -- no. Importing another separate unit to be a new > separate unit makes no sense, > > Ron Thanks Ron! > > On Mon, Oct 9, 2017 at 3:50 PM, Jonas

Re: [Dwarf-Discuss] Legal top-level units

2017-10-09 Thread Ron Brender
DW_TAG_skeleton_unit -- yes. It will be the only DIE in the compilation. DW_TAG_imported_unit -- no. Importing another separate unit to be a new separate unit makes no sense, Ron On Mon, Oct 9, 2017 at 3:50 PM, Jonas Devlieghere wrote: > Hi everyone, > > For the verifier in llvm-dwarfdump I’m t

[Dwarf-Discuss] Legal top-level units

2017-10-09 Thread Jonas Devlieghere
Hi everyone, For the verifier in llvm-dwarfdump I’m trying to find out what unit types are valid top-level units, following the CU header. The DW_TAG_compile_unit, DW_TAG_type_unit and DW_TAG_partial_unit are pretty obviously legal, but what I’m not sure about are DW_TAG_skeleton_unit and DW_