Made lldb_private::ArchSpec contain much more than just an architecture. It

now, in addition to cpu type/subtype and architecture flavor, contains:
- byte order (big endian, little endian)
- address size in bytes
- llvm::Triple for true target triple support and for more powerful plug-in
  selection.

llvm-svn: 125602
This commit is contained in:
Greg Clayton
2011-02-15 21:59:32 +00:00
parent 41febc658b
commit 514487e806
59 changed files with 697 additions and 577 deletions

View File

@@ -371,7 +371,7 @@ SBProcess::GetAddressByteSize () const
{
uint32_t size = 0;
if (m_opaque_sp)
size = m_opaque_sp->GetAddressByteSize();
size = m_opaque_sp->GetTarget().GetArchitecture().GetAddressByteSize();
LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
if (log)