[Lldb-commits] Patch to fix build

Chris Lattner clattner at apple.com
Wed Sep 8 16:03:03 PDT 2010


I accidentally committed this with r113438.  If this is the "wrong thing", please let me know and I'll be happy to revert it.

-Chris

On Sep 8, 2010, at 11:46 AM, Chris Lattner wrote:

> The build fails for me, building with xcode 3 + gcc 4.2 + the xcode project with these errors:
> 
> /Volumes/Projects/cvs/llvm/tools/lldb/source/Host/macosx/Symbols.cpp: In function 'bool UniversalMachOFileContainsArchAndUUID(const lldb_private::FileSpec&, const lldb_private::ArchSpec*, const lldb_private::UUID*, off_t, lldb_private::DataExtractor&, uint32_t, uint32_t)':
> /Volumes/Projects/cvs/llvm/tools/lldb/source/Host/macosx/Symbols.cpp:148: error: 'cpu_type_t' was not declared in this scope
> /Volumes/Projects/cvs/llvm/tools/lldb/source/Host/macosx/Symbols.cpp:148: error: expected `;' before 'arch_cputype'
> /Volumes/Projects/cvs/llvm/tools/lldb/source/Host/macosx/Symbols.cpp:149: error: 'cpu_subtype_t' was not declared in this scope
> /Volumes/Projects/cvs/llvm/tools/lldb/source/Host/macosx/Symbols.cpp:149: error: expected `;' before 'arch_cpusubtype'
> /Volumes/Projects/cvs/llvm/tools/lldb/source/Host/macosx/Symbols.cpp:157: error: 'arch_cputype' was not declared in this scope
> /Volumes/Projects/cvs/llvm/tools/lldb/source/Host/macosx/Symbols.cpp:157: error: 'arch_cpusubtype' was not declared in this scope
> 
> 
> Is this the right fix?
> 
> <symbols.patch>
> 
> -Chris_______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits





More information about the lldb-commits mailing list