The new field is for specifying DW_AT_trampoline as a string. Also update the signature of DIBuilder::createFunction to reflect this addition.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Mechanically I think this looks fine, could you also update SourceLevelDebugging.rst?
llvm/test/Bitcode/DISubprogram-targetfuncname.ll | ||
---|---|---|
4 ↗ | (On Diff #422568) | I think this should be doing two full roundtrips and be in the test/Assembler directory. |
Comment Actions
@aprantl : I quickly scanned the document and didn't see a suitable place for this type of 'detail' attribute. Could you please make a suggestion? Note that this is not language specific and I've updated the comment for DIBuilder::createFunction so that the field's description should show up in the DIBuilder API doc.
Comment Actions
I would put it for example into the Fortran function information section and just add a source code example (if that makes sense) to explain under what cirumstances a frontend would want to put in a target function name.