Added %itanium_abi_host_triple to fix debuginfo-tests when clang is a cross-compiler...
authorFilipe Cabecinhas <me@filcab.net>
Thu, 16 Oct 2014 23:41:40 +0000 (23:41 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Thu, 16 Oct 2014 23:41:40 +0000 (23:41 +0000)
llvm-svn: 219989

clang/test/lit.cfg

index a435bf5..c4ef15d 100644 (file)
@@ -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.