[Lldb-commits] Patch to fix build

Chris Lattner clattner at apple.com
Wed Sep 8 11:46:56 PDT 2010


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: symbols.patch
Type: application/octet-stream
Size: 385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20100908/580f6a71/attachment.obj>
-------------- next part --------------


-Chris


More information about the lldb-commits mailing list