diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-05-19 23:07:19 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-05-19 23:07:19 +0000 |
commit | c18a538646e9233e47c74df7c9f6d32547039593 (patch) | |
tree | 3f16b7b8d7de06ded3aa20f8bd072aee435ce56d | |
parent | d13581e492b6c014ddce1b2f41a34dc8af1c32ac (diff) | |
download | bcm5719-llvm-c18a538646e9233e47c74df7c9f6d32547039593.tar.gz bcm5719-llvm-c18a538646e9233e47c74df7c9f6d32547039593.zip |
API fix and missing headers.
Host.cpp was missing Error.h and the implementation of
LaunchProcess. Once againg I have added a "fake" implementation
waiting for a real one.
Fixed the call GetAddressRange to reflect the new interface in
DynamicLoaderLinuxDYLD.cpp.
Added string.h to ARM_DWARF_Registers.cpp that is needed for ::memset.
Signed-off-by: Johnny Chen <johnny.chen@apple.com>
llvm-svn: 131695
-rw-r--r-- | lldb/source/Host/linux/Host.cpp | 10 | ||||
-rw-r--r-- | lldb/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp | 2 | ||||
-rw-r--r-- | lldb/source/Utility/ARM_DWARF_Registers.cpp | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/lldb/source/Host/linux/Host.cpp b/lldb/source/Host/linux/Host.cpp index b0d43e87de6..4ebacc54c17 100644 --- a/lldb/source/Host/linux/Host.cpp +++ b/lldb/source/Host/linux/Host.cpp @@ -14,6 +14,7 @@ // C++ Includes // Other libraries and framework includes // Project includes +#include "lldb/Core/Error.h" #include "lldb/Host/Host.h" using namespace lldb; @@ -33,3 +34,12 @@ Host::GetOSVersion(uint32_t &major, status = sscanf(un.release, "%u.%u.%u", &major, &minor, &update); return status == 3; } + +Error +Host::LaunchProcess (ProcessLaunchInfo &launch_info) +{ + Error error; + assert(!"Not implemented yet!!!"); + return error; +} + diff --git a/lldb/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp b/lldb/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp index 1eda619225c..898c36efcbf 100644 --- a/lldb/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp +++ b/lldb/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp @@ -321,7 +321,7 @@ DynamicLoaderLinuxDYLD::GetStepThroughTrampolinePlan(Thread &thread, bool stop) AddressRange range; if (target_symbols.GetContextAtIndex(i, context)) { - context.GetAddressRange(eSymbolContextEverything, range); + context.GetAddressRange(eSymbolContextEverything, 0, false, range); lldb::addr_t addr = range.GetBaseAddress().GetLoadAddress(&target); if (addr != LLDB_INVALID_ADDRESS) addrs.push_back(addr); diff --git a/lldb/source/Utility/ARM_DWARF_Registers.cpp b/lldb/source/Utility/ARM_DWARF_Registers.cpp index b8737ae2851..5e59c3325e5 100644 --- a/lldb/source/Utility/ARM_DWARF_Registers.cpp +++ b/lldb/source/Utility/ARM_DWARF_Registers.cpp @@ -10,6 +10,8 @@ #include "ARM_DWARF_Registers.h" #include <string.h> +#include <string.h> + using namespace lldb; using namespace lldb_private; |