[libunwind] Fix path to libunwind for per-target-runtime-dir builds
authorLouis Dionne <ldionne.2@gmail.com>
Fri, 22 Oct 2021 16:03:00 +0000 (12:03 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Fri, 22 Oct 2021 18:36:14 +0000 (14:36 -0400)
commite6f39c8b4891242c0d0d8e7a78041614d9bcdefc
treee6e3788f08509ddd6d877bbf7031ba631935c9df
parentf2360e1156d086ac5ac58d7f29449adf9e75d716
[libunwind] Fix path to libunwind for per-target-runtime-dir builds

We recently introduced a from-scratch config to run the libunwind tests.
However, that config was always looking for libunwind in <install>/lib,
and never in <install>/<target>/lib, which is necessary for tests to
work when the per-target-runtime-dir configuration is enabled.

This commit fixes that. I believe this is what caused the CI failures we
saw after 5a8ad80b6fa5 and caused it to be reverted.

Differential Revision: https://reviews.llvm.org/D112322
libunwind/test/configs/llvm-libunwind-shared.cfg.in
libunwind/test/configs/llvm-libunwind-static.cfg.in