diff options
-rw-r--r-- | llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h index c034661c84b..af37e85da96 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h @@ -116,8 +116,8 @@ public: /// DW_AT_abstract_origin referenced DIEs. /// /// \param Attr the attribute to extract. - /// \param FormValue contains the attribute value if true is returned. - /// \returns true if the attribute was extracted from this DIE. + /// \returns an optional DWARFFormValue that will have the form value if the + /// attribute was successfully extracted. Optional<DWARFFormValue> getAttributeValue(dwarf::Attribute Attr) const; /// Extract the specified attribute from this DIE as a C string. |