[PATCH] D43942: [lld] Fix handling of output section selection for unmerged mergeable inputs and relocatable output
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 2 11:37:10 PST 2018
Owen Reynolds via Phabricator via llvm-commits
<llvm-commits at lists.llvm.org> writes:
> gbreynoo added a comment.
>
> We found that there were problems with DWARF output when using the flags above, consumers were either creating incorrect output or crashing. These consumers where relying on there only being one .debug_str section. The DWARF specification has an attribute that is an offset into the .debug_str section (e.g. DW_form_strp), only one of such section is expected.
Do you have a self contained testcase?
Cheers,
Rafael
More information about the llvm-commits
mailing list