diff options
author | Walter Erquinigo <waltermelon@fb.com> | 2020-04-03 17:29:32 -0700 |
---|---|---|
committer | Walter Erquinigo <wallace@fb.com> | 2020-04-03 19:15:56 -0700 |
commit | ca47ac3d5f6f8483d330c96a63f1cd862e667856 (patch) | |
tree | 22512af8afec4e894fded7351cef2ed188f94579 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 79afdfab9a57f9ddbc59e9ea0a3ea86635791920 (diff) | |
download | llvm-ca47ac3d5f6f8483d330c96a63f1cd862e667856.zip llvm-ca47ac3d5f6f8483d330c96a63f1cd862e667856.tar.gz llvm-ca47ac3d5f6f8483d330c96a63f1cd862e667856.tar.bz2 |
[source maps] Fix remove, insert-after and replace
Summary:
In this diff of mine D77186 I introduce a bug in the replace operation, where I was failing fast by mistake.
Besides, a similar problem existed in the insert-after operation, where it was failing fast.
Finally, the remove operation was wrong, as it was not using the indices provided by the users.
I fixed those issues and added some tests account for cases with multiple elements in these requests.
Reviewers: labath, clayborg
Reviewed By: labath
Subscribers: mgrang, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D77324
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions