[Lldb-commits] Fix for source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
Dmitry Vyukov
dvyukov at google.com
Mon Feb 20 05:19:11 PST 2012
Hi,
I would like to ask you to review and land the following patch. The error
message during compilation is:
DisassemblerLLVMC.cpp: In member function ‘const char*
DisassemblerLLVMC::SymbolLookup(uint64_t, uint64_t*, uint64_t, const
char**)’:
DisassemblerLLVMC.cpp:519: error: cannot convert ‘lldb::TargetSP’ to
‘lldb_private::Target*’ in initialization
Index: source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
===================================================================
--- source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp (revision 150956)
+++ source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp (working copy)
@@ -516,7 +516,7 @@
{
Address reference_address;
- Target *target = m_exe_scope->CalculateTarget();
+ TargetSP target = m_exe_scope->CalculateTarget();
if (target)
{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20120220/03edce72/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DisassemblerLLVMC.patch
Type: application/octet-stream
Size: 521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20120220/03edce72/attachment.obj>
More information about the lldb-commits
mailing list