[PATCH] D130229: [ELF] Add --thinlto-index= and --remapping-file=

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 10:53:06 PDT 2022


hoy added a comment.

In D130229#3668618 <https://reviews.llvm.org/D130229#3668618>, @tejohnson wrote:

> 



>> However, I'm a little confused as to how this will work for symbol resolution. The main reason for doing things the way we were was to ensure the same objects were selected for linking out of static libraries (that use --start-lib/--end-lib), since symbols may be referenced differently after importing. That's why the native objects corresponding to the bitcode files are listed in a flat list in the thinlto-index-only=params file (i.e. not using --start-lib/--end-lib). I'm not sure how the new solution prevents those issues.

I have the same question. I also have a question about the original lazy native objects (that come with --start-lib/end-lib or in form of archive files), of which the symbol resolution relies on the original bitcode objects.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130229



More information about the llvm-commits mailing list