<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - Expression evaluation: out-of-line definition of '$__lldb_expr' does not match any declaration in 'Foo'"
   href="https://llvm.org/bugs/show_bug.cgi?id=24916">24916</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Expression evaluation: out-of-line definition of '$__lldb_expr' does not match any declaration in 'Foo'
          </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>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </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>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14927" name="attach_14927" title="Test to reproduce">attachment 14927</a> <a href="attachment.cgi?id=14927&action=edit" title="Test to reproduce">[details]</a></span>
Test to reproduce

Expression evaluation fails with the following error message in some context:

error: out-of-line definition of '$__lldb_expr' does not match any declaration
in 'Foo'
error: 1 errors parsing expression

The context where the error happens isn't easy to specify (usually involves
namespaces) but in the given contexts (inside a given function) it fails at all
PC and for all expression (including commands like "expression 1").

To reproduce the issue run the attached test case (with the lldb test
framework) (test also visible here: <a href="http://reviews.llvm.org/D12934">http://reviews.llvm.org/D12934</a>)

Tested with:
Ubuntu clang version 3.5.0-4ubuntu2~trusty2 (tags/RELEASE_350/final) (based on
LLVM 3.5.0)

The issue was introduced by <a href="http://reviews.llvm.org/rL245905">http://reviews.llvm.org/rL245905</a>

We should create a proper test case for the issue after we understand it a bit
more!</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>