[lldb-dev] lldb fails to build under GNU/Linux mipsel

Sylvestre Ledru sylvestre at debian.org
Thu May 16 03:16:50 PDT 2013


Hello,

tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp:
In member function 'virtual bool
RegisterContextMacOSXFrameBackchain::ReadRegister(const
lldb_private::RegisterInfo*, lldb_private::RegisterValue&)':
tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp:153:9:
error: duplicate case value
tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp:137:9:
error: previously used here

Line 137 :
        case sizeof (double):
Line 153:
// TOOD: need a better way to detect when "long double" types are
// the same bytes size as "double"
#if !defined(__arm__)
        case sizeof (long double):

I could commit the attached patch but I wonder if there is not a better
solution.

Thanks
Sylvestre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable_for_mipsel_too.diff
Type: text/x-patch
Size: 664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130516/5f3a3e4c/attachment.bin>


More information about the lldb-dev mailing list