[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
Mon Apr 4 09:45:36 PDT 2016
probinson added a comment.
Re not passing constants down: It looks like applySubprogramDefinitionAttributes could figure out if the SP is abstract with something like this?
bool Abstract = DU->getAbstractSPDies().lookup(SP);
I can't do that in addLinkageName because it has only the DIE, not the DISubprogram. But then I wouldn't have to fuss with all those other APIs.
http://reviews.llvm.org/D18706
More information about the llvm-commits
mailing list