llvm-project/llvm/test/tools/llvm-dwp/Inputs
Jordan Rupprecht 4b78d4f347 [llvm-dwp] Abort when dwo_id is unset
Summary:
An empty dwo_id indicates a degenerate .dwo file that should not have been generated in the first place. Instead of discovering this error later when merging with another degenerate .dwo file, print an error immediately when noticing an unset dwo_id, including the filename of the offending file.

Test case created by compiling a trivial file w/ `-fno-split-dwarf-inlining -gmlt -gsplit-dwarf -c` prior to r353771

Reviewers: dblaikie

Reviewed By: dblaikie

Subscribers: jdoerfert, aprantl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D58085

llvm-svn: 353846
2019-02-12 15:01:07 +00:00
..
compress
compressfail
duplicate
duplicate_dwo_name
dwos_list_from_exec
gcc_type
invalid_cu_index
merge/notypes
missing_tu_index
simple
type_dedup
empty.dwo
empty_compressed_section.dwo
invalid_compressed.dwo
invalid_string_form.dwo
missing_dwo_id.dwo
multiple_type_sections.dwp
non_cu_top_level.dwo