[PATCH] D50017: ELF: Add libcall symbols to the link when LTO is being used.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 31 11:19:31 PDT 2018


ruiu added a comment.

Ah, I misunderstood that the new code was added after addCombinedLTOObject, but the new code is actually before the call of that function. Now the code makes more sense.

Have you considered always adding these symbols as undefined symbols to bitcode files, if -flto is given to clang?


Repository:
  rL LLVM

https://reviews.llvm.org/D50017





More information about the llvm-commits mailing list