https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105108
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, for computations expressible in DWARF expressions DWARF already has DW_OP_call* which doesn't actually mean a call in the inferior call sense, but a call in the DWARF expression evaluation sense, so one can create artificial DW_TAG_dwarf_procedure and have its location expression be some DWARF expression and use that to decrease size of emitted DWARF or even to emit code to evaluate optimized away simple functions. But what is missing is a way to request evaluation of an inferior call.