From e02eca7a42d0957421219f812b92eb2fb558b6e3 Mon Sep 17 00:00:00 2001 From: Filipe Cabecinhas Date: Thu, 16 Oct 2014 23:41:40 +0000 Subject: [PATCH] Added %itanium_abi_host_triple to fix debuginfo-tests when clang is a cross-compiler by default llvm-svn: 219989 --- clang/test/lit.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/test/lit.cfg b/clang/test/lit.cfg index a435bf5..c4ef15d 100644 --- a/clang/test/lit.cfg +++ b/clang/test/lit.cfg @@ -271,6 +271,7 @@ config.substitutions.append( ('%clangxx', ' ' + config.clang + config.substitutions.append( ('%clang', ' ' + config.clang + ' ') ) config.substitutions.append( ('%test_debuginfo', ' ' + config.llvm_src_root + '/utils/test_debuginfo.pl ') ) config.substitutions.append( ('%itanium_abi_triple', makeItaniumABITriple(config.target_triple)) ) +config.substitutions.append( ('%itanium_abi_host_triple', makeItaniumABITriple(config.host_triple)) ) config.substitutions.append( ('%ms_abi_triple', makeMSABITriple(config.target_triple)) ) # FIXME: Find nicer way to prohibit this. -- 2.7.4