[llvm] [RFC] Emit dwarf data for signature-changed or new functions (PR #157349)
David Faust via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 28 13:54:26 PDT 2025
dafaust wrote:
Having refreshed my mind on all the various discussions on this topic, the format in #127855 and now in #165310 is good and we should proceed with it.
> Thanks @dafaust. I cannot fully understand what dwarf 5 (or 6) recommendation for changed signature. An example will be the best.
To be clear - I don't think there is any such recommendation from dwarf spec. For the inter-procedural constant propagation transformations GCC currently generates some dwarf reflecting the constprop specialized versions of a changed function (e.g. "foo" -> "foo.constprop") like the example in my first comment above. I was just thinking about whether something similar to that could be adapted to reflect other transformations also.
But that is all extraneous :) Sorry for the noise.
We should rather move forward with #165310
https://github.com/llvm/llvm-project/pull/157349
More information about the llvm-commits
mailing list