summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-01-09 19:23:34 +0000
committerGreg Clayton <gclayton@apple.com>2012-01-09 19:23:34 +0000
commit01a82d1918cd9851be76156ae09e5e369cb33b99 (patch)
treeed487b5aa91513d924e45d259c88ba782afa6408
parentc2a64b9b90268731d463c7cd71668b5c7c3ebe74 (diff)
downloadbcm5719-llvm-01a82d1918cd9851be76156ae09e5e369cb33b99.tar.gz
bcm5719-llvm-01a82d1918cd9851be76156ae09e5e369cb33b99.zip
Fixed a return value problem with the new ABI::FixCodeAddress () function:
it was checked in as: virtual bool ABI::FixCodeAddress (lldb::addr_t pc); when it should have been: virtual lldb::addr_t ABI::FixCodeAddress (lldb::addr_t pc); llvm-svn: 147790
-rw-r--r--lldb/include/lldb/Target/ABI.h2
-rw-r--r--lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/include/lldb/Target/ABI.h b/lldb/include/lldb/Target/ABI.h
index 4709d79219d..1a0989f62f7 100644
--- a/lldb/include/lldb/Target/ABI.h
+++ b/lldb/include/lldb/Target/ABI.h
@@ -76,7 +76,7 @@ public:
virtual bool
CodeAddressIsValid (lldb::addr_t pc) = 0;
- virtual bool
+ virtual lldb::addr_t
FixCodeAddress (lldb::addr_t pc)
{
// Some targets might use bits in a code address to indicate
diff --git a/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h b/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h
index 5516b5907ae..be9a1838f7b 100644
--- a/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h
+++ b/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h
@@ -82,7 +82,7 @@ public:
return pc <= UINT32_MAX;
}
- virtual bool
+ virtual lldb::addr_t
FixCodeAddress (lldb::addr_t pc)
{
// ARM uses bit zero to signify a code address is thumb, so we must
OpenPOWER on IntegriCloud