[Lldb-commits] [lldb] r254763 - Add documentation for SBTarget::CreateValueFromAddress.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 4 12:16:52 PST 2015


Author: jingham
Date: Fri Dec  4 14:16:51 2015
New Revision: 254763

URL: http://llvm.org/viewvc/llvm-project?rev=254763&view=rev
Log:
Add documentation for SBTarget::CreateValueFromAddress.

Modified:
    lldb/trunk/scripts/interface/SBTarget.i

Modified: lldb/trunk/scripts/interface/SBTarget.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/interface/SBTarget.i?rev=254763&r1=254762&r2=254763&view=diff
==============================================================================
--- lldb/trunk/scripts/interface/SBTarget.i (original)
+++ lldb/trunk/scripts/interface/SBTarget.i Fri Dec  4 14:16:51 2015
@@ -695,6 +695,24 @@ public:
     lldb::SBBroadcaster
     GetBroadcaster () const;
               
+     %feature("docstring", "
+    //------------------------------------------------------------------
+    /// Create an SBValue with the given name by treating the memory starting at addr as an entity of type.
+    ///
+    /// @param[in] name
+    ///     The name of the resultant SBValue
+    ///
+    /// @param[in] addr
+    ///     The address of the start of the memory region to be used.
+    ///
+    /// @param[in] type
+    ///     The type to use to interpret the memory starting at addr.
+    ///
+    /// @return
+    ///     An SBValue of the given type, may be invalid if there was an error reading
+    ///     the underlying memory.
+    //------------------------------------------------------------------
+    ") CreateValueFromAddress;
     lldb::SBValue
     CreateValueFromAddress (const char *name, lldb::SBAddress addr, lldb::SBType type);
 




More information about the lldb-commits mailing list