[lldb-dev] [Bug 23132] New: Encountered an `unhandled type tag` error on malformed `print` statement
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Apr 5 19:51:04 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23132
Bug ID: 23132
Summary: Encountered an `unhandled type tag` error on malformed
`print` statement
Product: lldb
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: kevinushey at gmail.com
Classification: Unclassified
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150406/73485adc/attachment.html>
More information about the lldb-dev
mailing list