[PATCH] D24617: [LTO] Prevent asm undefined references to be dropped from the output

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 15 13:31:42 PDT 2016


mehdi_amini added a comment.



> That seems orthogonal to the issue of making sure their defs are not dropped by updating llvm.compiler.used appropriately which could be fixed by doing what I suggested for ThinLTO - call CollectAsmUndefinedRefs from the backend).


Right, this would solves it (but for the lack of renaming).

Another way is to do it on the individual modules when they're loaded, pre-merge.


https://reviews.llvm.org/D24617





More information about the llvm-commits mailing list