diff options
| author | Pavel Labath <labath@google.com> | 2018-02-28 20:42:29 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2018-02-28 20:42:29 +0000 |
| commit | ec03d7e3babb18f222d9b83a04e747f206f416a5 (patch) | |
| tree | 242cc79fe6f09deb8ff99826bfb123cc331a4e65 /lldb/source/Target/Process.cpp | |
| parent | fde8b042358ac2b8ac0b7c3a590e9471d3515462 (diff) | |
| download | bcm5719-llvm-ec03d7e3babb18f222d9b83a04e747f206f416a5.tar.gz bcm5719-llvm-ec03d7e3babb18f222d9b83a04e747f206f416a5.zip | |
Revert "[lldb] Use vFlash commands when writing to target's flash memory regions"
This reverts commit r326261 as it introduces inconsistencies in the
handling of load addresses for ObjectFileELF -- some parts of the class
use physical addresses, and some use virtual. This has manifested itself
as us not being able to set the load address of the vdso "module" on
android.
llvm-svn: 326367
Diffstat (limited to 'lldb/source/Target/Process.cpp')
| -rw-r--r-- | lldb/source/Target/Process.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index d394b13696a..d54112ab5d8 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -2533,17 +2533,6 @@ size_t Process::ReadScalarIntegerFromMemory(addr_t addr, uint32_t byte_size, return 0; } -Status Process::WriteObjectFile(std::vector<WriteEntry> entries) { - Status error; - for (const auto &Entry : entries) { - WriteMemory(Entry.Dest, Entry.Contents.data(), Entry.Contents.size(), - error); - if (!error.Success()) - break; - } - return error; -} - #define USE_ALLOCATE_MEMORY_CACHE 1 addr_t Process::AllocateMemory(size_t size, uint32_t permissions, Status &error) { |

