summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-02-15 21:59:32 +0000
committerGreg Clayton <gclayton@apple.com>2011-02-15 21:59:32 +0000
commit514487e80609921f8451a80965f65c3defbce725 (patch)
tree424c18a67cc664a7d276846b6d84a575f23c99f2 /lldb/source/API
parent41febc658b62f15983301ebff759c99909f2ecbf (diff)
downloadbcm5719-llvm-514487e80609921f8451a80965f65c3defbce725.tar.gz
bcm5719-llvm-514487e80609921f8451a80965f65c3defbce725.zip
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
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/SBProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBProcess.cpp b/lldb/source/API/SBProcess.cpp
index 2a3d415a7b9..3b59960db1e 100644
--- a/lldb/source/API/SBProcess.cpp
+++ b/lldb/source/API/SBProcess.cpp
@@ -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)
OpenPOWER on IntegriCloud