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
diff --git a/lldb/include/lldb/Target/ABI.h b/lldb/include/lldb/Target/ABI.h
index 4709d79..1a0989f 100644
--- a/lldb/include/lldb/Target/ABI.h
+++ b/lldb/include/lldb/Target/ABI.h
@@ -76,7 +76,7 @@
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 5516b59..be9a183 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 @@
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