![]() 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 |
||
---|---|---|
.. | ||
Inputs | ||
add-gnu-debuglink.test | ||
add-section-and-set-flags.test | ||
add-section.test | ||
basic-copy.test | ||
bigobj.test | ||
check-debug-dir-present.test | ||
debug-dir-unmapped.test | ||
debug-entry-no-payload.test | ||
discard-all.test | ||
only-keep-debug.test | ||
only-section.test | ||
patch-debug-dir.test | ||
patch-debug-dir2.test | ||
redefine-symbol.test | ||
remove-section.test | ||
set-section-flags.test | ||
strip-all.test | ||
strip-debug.test | ||
strip-reloc-symbol.test | ||
strip-symbol.test | ||
strip-unneeded.test | ||
weak-external.test |