[lldb-dev] How do I cast from a Value* to a ConstantDataArray* on LLDB command prompt?

Richard Catlin richard.m.catlin at gmail.com
Fri May 3 10:40:09 PDT 2013


I tried this, it it doesn't work.

(lldb) expr (int8_t) cast<ConstantDataArray>(v)->isString()
error: use of undeclared identifier 'cast'
error: 'ConstantDataArray' does not refer to a value
error: no member named 'isString' in 'llvm::Value'
note: declared here

Thanks for any help.
Richard Catlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130503/01bf2a63/attachment.html>


More information about the lldb-dev mailing list