summaryrefslogtreecommitdiff
path: root/test/scudo
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-06-28 03:11:52 +0000
committerPetr Hosek <phosek@chromium.org>2018-06-28 03:11:52 +0000
commite68c4e60449e68193ad2479e453715dcb94d59ec (patch)
treefe768a39c80dfe37d1813372263d228c29f8238e /test/scudo
parent7304174d41ce890097c935e137d5ae864efa01f9 (diff)
Support for multiarch runtimes layout
This change adds a support for multiarch style runtimes layout, so in addition to the existing layout where runtimes get installed to: lib/clang/$version/lib/$os Clang now allows runtimes to be installed to: lib/clang/$version/$target/lib This also includes libc++, libc++abi and libunwind; today those are assumed to be in Clang library directory built for host, with the new layout it is possible to install libc++, libc++abi and libunwind into the runtime directory built for different targets. The use of new layout is enabled by setting the LLVM_ENABLE_RUNTIME_TARGET_DIR CMake variable and is supported by both projects and runtimes layouts. The runtimes CMake build has been further modified to use the new layout when building runtimes for multiple targets. Differential Revision: https://reviews.llvm.org/D45604 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/scudo')
-rw-r--r--test/scudo/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scudo/lit.cfg b/test/scudo/lit.cfg
index c94008782..b7f814ebc 100644
--- a/test/scudo/lit.cfg
+++ b/test/scudo/lit.cfg
@@ -9,7 +9,7 @@ config.name = 'Scudo' + config.name_suffix
config.test_source_root = os.path.dirname(__file__)
# Path to the shared library
-shared_libscudo = os.path.join(config.compiler_rt_libdir, "libclang_rt.scudo-%s.so" % config.target_arch)
+shared_libscudo = os.path.join(config.compiler_rt_libdir, "libclang_rt.scudo%s.so" % config.target_suffix)
# Test suffixes.
config.suffixes = ['.c', '.cc', '.cpp']