From: Filipe Cabecinhas Date: Thu, 16 Oct 2014 23:41:40 +0000 (+0000) Subject: Added %itanium_abi_host_triple to fix debuginfo-tests when clang is a cross-compiler... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0737853191cd5203468f202382d11a069e718262;p=clang Added %itanium_abi_host_triple to fix debuginfo-tests when clang is a cross-compiler by default git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219989 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg b/test/lit.cfg index a435bf582d..c4ef15d230 100644 --- a/test/lit.cfg +++ b/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.