[clang] [llvm] [clang][DebugInfo] Add virtual call-site target information in DWARF. (PR #167666)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 07:36:09 PST 2025


jmorse wrote:

Hmmm, I see the wording in the spec nearby, "For indirect calls or jumps where it is unknown at compile time which subprogram will be called [...]". I suppose this shows that the thinking in the spec is that an indirect call is something where you don't know the specific subprogram; and that means an address; and that means consumers would legitimately assume if we put a subprogram reference in then there's a direct call. Which moves me towards thinking we would need an extra/new attribute to properly describe this.

https://github.com/llvm/llvm-project/pull/167666


More information about the llvm-commits mailing list