[PATCH] D65819: [Driver][Bundler] Improve bundling of object files.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 6 14:33:47 PDT 2019


ABataev added a comment.

In D65819#1617736 <https://reviews.llvm.org/D65819#1617736>, @Hahnfeld wrote:

> Can you detail what "incorrect linking" means? AFAIK the additional sections were just bloating the executable, but how do they affect correctness?
>
> Will this patch change the ability to consume a bundled object file without calling the unbundler? Using known ELF tools on the produced object files was an important design decision and IIRC was somewhat important for using build systems that are unaware of the bundled format.


It might produce a lot of "junk" sections and I saw that in some cases it may affect the code linking. There is a report from Itaru Kitayama and I found out that this oartial linking leads to the incorrectly working application. Seems to me, there is a problem with partial linking in LD in some cases.


Repository:
  rC Clang

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

https://reviews.llvm.org/D65819





More information about the cfe-commits mailing list