Commit 66bd7c4
committed
[lldb][nfc] Change ProcessGDBRemote::ParseMultiMemReadPacket signature
Instead of returning an `Expected<vector<...>>` it now returns an Error,
and receives a vector argument to fill in. This will be useful to
support a change were ParseMultiMemReadPacket will be called multiple
times in a loop with the same vector; without this change, we would have
to concatenate vectors and copy memory around.1 parent 7a43921 commit 66bd7c4
File tree
2 files changed
+15
-18
lines changed- lldb/source/Plugins/Process/gdb-remote
2 files changed
+15
-18
lines changedLines changed: 11 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2807 | 2807 | | |
2808 | 2808 | | |
2809 | 2809 | | |
2810 | | - | |
2811 | | - | |
2812 | | - | |
2813 | | - | |
2814 | | - | |
| 2810 | + | |
| 2811 | + | |
| 2812 | + | |
| 2813 | + | |
2815 | 2814 | | |
2816 | 2815 | | |
2817 | 2816 | | |
2818 | | - | |
| 2817 | + | |
2819 | 2818 | | |
2820 | 2819 | | |
2821 | 2820 | | |
| |||
2851 | 2850 | | |
2852 | 2851 | | |
2853 | 2852 | | |
2854 | | - | |
2855 | | - | |
2856 | | - | |
2857 | | - | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
2858 | 2857 | | |
2859 | 2858 | | |
2860 | 2859 | | |
2861 | 2860 | | |
2862 | 2861 | | |
2863 | 2862 | | |
2864 | 2863 | | |
2865 | | - | |
2866 | | - | |
2867 | 2864 | | |
2868 | 2865 | | |
2869 | 2866 | | |
| |||
2886 | 2883 | | |
2887 | 2884 | | |
2888 | 2885 | | |
2889 | | - | |
| 2886 | + | |
2890 | 2887 | | |
2891 | 2888 | | |
2892 | | - | |
| 2889 | + | |
2893 | 2890 | | |
2894 | 2891 | | |
2895 | 2892 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
0 commit comments