<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 --- - Encountered an `unhandled type tag` error on malformed `print` statement"
href="https://llvm.org/bugs/show_bug.cgi?id=23132">23132</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Encountered an `unhandled type tag` error on malformed `print` statement
</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>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@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kevinushey@gmail.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Was testing out `lldb` in stepping through a simple mean function, and stumbled
into this:
Breakpoint 2: where = sourceCpp_57725.so`Rcpp::sugar::Mean<14, true,
Rcpp::Vector<14, Rcpp::PreserveStorage> >::get() const + 351 at mean.h:46,
address = 0x000000010cf7e79f
(lldb) c
Process 4169 resuming
Process 4169 stopped
* thread #1: tid = 0x70d5, 0x000000010cf7e79f
sourceCpp_57725.so`Rcpp::sugar::Mean<14, true, Rcpp::Vector<14,
Rcpp::PreserveStorage> >::get(this=<unavailable>) const + 351 at mean.h:46,
queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
frame #0: 0x000000010cf7e79f sourceCpp_57725.so`Rcpp::sugar::Mean<14, true,
Rcpp::Vector<14, Rcpp::PreserveStorage> >::get(this=<unavailable>) const + 351
at mean.h:46
43 for (int i = 0; i < n; i++) {
44 t += input[i] - s;
45 }
-> 46 s += t/n;
47 }
48 return (double)s ;
49 }
(lldb) print s
error: portsrc.o {0x0000c21b}: unhandled type tag 0x0027 (DW_TAG_constant),
please file a bug and attach the file at the start of this error message
error: portsrc.o {0x0000dec0}: unhandled type tag 0x0027 (DW_TAG_constant),
please file a bug and attach the file at the start of this error message
error: portsrc.o {0x0000699d}: unhandled type tag 0x0027 (DW_TAG_constant),
please file a bug and attach the file at the start of this error message
error: warning: Stopped in a C++ method, but 'this' isn't available; pretending
we are in a generic context
error: use of undeclared identifier 's'
error: 1 errors parsing expression
This is with git commit `1fe2076d4c88fcf374a1ce8f5486c340cb61a304`; `lldb` was
built from sources using
xcodebuild -configuration Release -target lldb-tool
Thanks,
Kevin</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>