[Dwarf-discuss] Proposal to encode Changed Function Signatures in dwarf
David Blaikie
dblaikie@gmail.com
Sun Jan 4 17:49:07 GMT 2026
Coming back to the fundamental problem you're trying to solve - am I
understanding correctly it is this:
Compiler optimizes a function and doesn't preserve it's ABI.
You want to allow your users of BPF to write a call to, or reimplementation
of (which is it? is it some third thing?) this function that matches the
lowered/non-ABI matching signature.
So you'd like DWARF (well, BPF, which is built from DWARF? encoded in
DWARF?) to encode a source signature that is equivalent to the
optimized/new calling convention of the function?
But folks here are pushing back by suggesting that that optimized calling
convention may not be representable in the source language? which I think
is accurate/fair...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dwarfstd.org/pipermail/dwarf-discuss/attachments/20260104/914833e9/attachment.htm>
More information about the Dwarf-discuss
mailing list