[PATCH] D43942: [lld] Fix handling of output section selection for unmerged mergeable inputs and relocatable output

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 26 19:35:09 PDT 2018


espindola added a comment.

I still think you found a bug in dwarfdump/llvm-dwarfdump.

But we do merge non SHF_MERGE sections and the intention of -O0 is to treat SHF_MERGE sections as regular sections, so it seems we got something wrong somewhere.

Making this specific to .debug_str makes it worse as it is a more special case. I am taking a look at what else can we do about it.


https://reviews.llvm.org/D43942





More information about the llvm-commits mailing list