[llvm] [DebugInfo] Add DW_TAG_property support to LLVM DebugInfo (PR #215776)
Augusto Noronha via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 24 10:47:59 PDT 2026
https://github.com/augusto2112 requested changes to this pull request.
I think this is almost good enough to be shipped, however, given Adrian's comments, I think naming the supported field 'getter', we're inducing readers to think that the supported feature is getter functions, when in reality what you're adding is support for specifying the backing storage.
Here's what I propose: In the LLVM IR level, replace `getter` with `backing_storage`. We can still represent it in DWARF as a `DW_AT_property_forward` nested inside a `DW_TAG_property_getter`, as the DWARF standard specified. Later I can add support for getter and setter functions with the name `getter` and `setter` in the LLVM IR level.
https://github.com/llvm/llvm-project/pull/215776
More information about the llvm-commits
mailing list