[PATCH] D18706: [DWARF] Force a linkage_name on an inlined subprogram's abstract origin

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 13:16:47 PDT 2016


probinson added a comment.

In http://reviews.llvm.org/D18706#400250, @probinson wrote:

> In http://reviews.llvm.org/D18706#400222, @dblaikie wrote:
>
> > Also - depending on how far you want to go, you could probably skip the mangled name for abstract subprograms that have a concrete definition (it'd mean having to search through the DWARF to find the concrete subprogram, then looking at its high/low pc to find the symbol in the symbol table with the mangled name there)
>
>
> If the concrete out-of-line instance gets LTO'd away, that won't work.


Sorry, senior moment.  If it gets dead-stripped by the linker, that won't work.


http://reviews.llvm.org/D18706





More information about the llvm-commits mailing list