[llvm] [DebugInfo] Add an specification_of attribute to LLVM DebugInfo (PR #115362)
Paul T Robinson via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 7 14:02:32 PST 2024
================
@@ -488,6 +488,9 @@ namespace llvm {
/// \param Elements Struct elements.
/// \param RunTimeLang Optional parameter, Objective-C runtime version.
/// \param UniqueIdentifier A unique identifier for the struct.
+ /// \param SpecificationOf The type that this type completes (is a
+ /// specification of). For example, this could be a templated type whose
+ /// template parameters have been substituted in.
----------------
pogo59 wrote:
Agreed. DWARF does not describe non-instantiated templates, so this explanation can only be confusing and misleading.
https://github.com/llvm/llvm-project/pull/115362
More information about the llvm-commits
mailing list