[llvm-dev] [DebugInfo][RFC] Enabling "instruction referencing" variable locations for x86_64
Jeremy Morse via llvm-dev
llvm-dev at lists.llvm.org
Fri Nov 12 09:24:25 PST 2021
Many thanks for all the support! The most likely timeline for this is
me rewriting the existing X86 tests to expect instruction referencing
(D113194) next week, then trying to land a patch changing the default.
If all goes well, there'll be a good month or two for it to soak in
before the branch date of the next release.
Reid wrote:
> Previously, I have expressed concerns about this design direction because instructions do not necessarily remain in source order. However, I think the benefit of the increased variable availability probably outweighs the cost of variable values that don't correspond to the current source location, and we should go forward with this.
This is on my radar as a problem too, as an existing design issue,
where the source-location and variable-location information we track
are only lightly connected. I don't have any good ideas for solving
it, but I think we're in a better position for making educated
decisions about variable locations now.
--
Thanks,
Jeremy
More information about the llvm-dev
mailing list