<html>
    <head>
      <base href="http://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Expose ValueObject::Clone at the SB API"
   href="http://bugs.llvm.org/show_bug.cgi?id=32477">32477</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Expose ValueObject::Clone at the SB API
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tberghammer@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When writing a new synthetic child provider it is often useful to return an
existing ValueObject (SBValue) belonging to some internal data member as a
synthetic child (e.g. the internal pointer inside a unique_ptr).

The current API provides an easy way for doing it (you can access the SBValue
and then return it) but provides no way to change the name of the returned
value object meaning that the returned child will have a strange name (e.g.
_M_ptr). We should have a way to create a synthetic child from an existing
SBValue with a new name.

Note: We should *not* expose ValueObject::SetName as an SB API because that
function should *not* be called from a synthetic child provider as it changes
the name of the underlying non-synthetic child as well.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>