aprantl added a comment.

> Why should this feature be limited to DWARF? Don't we have the same kind of 
> stepping behavior issue with PDB files, for example?

That's not what I was trying to say. Yes, `DW_AT_trampoline` is a DWARF 
feature. But the "target function" LLVM IR feature is not necessarily limited 
to lowering into DWARF. If someone wants to implement lowering of the LLVM IR 
feature to PDB, and PDB supports some equivalent constructs, they can certainly 
do so.

I just wanted to point out that the goal of this patch is to give Clang users 
access to an already existing LLVM (& DWARF) feature that is being used by 
other frontends (flang) and supported by other debuggers. While I agree with 
David's general point that the feature is somewhat limited in its design, most 
of the design choices ultimately come from the DWARF specification.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146595/new/

https://reviews.llvm.org/D146595

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to