diff options
author | Alfonso Sánchez-Beato <alfonso.sanchez-beato@canonical.com> | 2021-09-10 09:55:26 +0100 |
---|---|---|
committer | James Henderson <james.henderson@sony.com> | 2021-09-10 09:57:18 +0100 |
commit | b25ab4f313f38d3dee9674789cf56b9143515034 (patch) | |
tree | 2380282e2ae0828492a82dae753bc5a28855b1b1 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | |
parent | b659b789c03ac339e28d7b91406b67bb887a426d (diff) | |
download | llvm-b25ab4f313f38d3dee9674789cf56b9143515034.zip llvm-b25ab4f313f38d3dee9674789cf56b9143515034.tar.gz llvm-b25ab4f313f38d3dee9674789cf56b9143515034.tar.bz2 |
[llvm-objcopy][COFF] Fix test for debug dir presence
If the number of directories was 6 (equal to the DEBUG_DIRECTORY
index), patchDebugDirectory() was run even though the debug directory
is actually the 7th entry. Use <= in the comparison to fix that.
This fixes https://llvm.org/PR51243
Differential Revision: https://reviews.llvm.org/D106940
Reviewed by: jhenderson
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
0 files changed, 0 insertions, 0 deletions