mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-19 08:35:45 +00:00
Re-commit r67334 and r67349 with fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
+4
-2
@@ -48,8 +48,8 @@ proc execOneLine { test PRS outcome lineno line } {
|
||||
proc substitute { line test tmpFile } {
|
||||
global srcroot objroot srcdir objdir subdir target_triplet prcontext
|
||||
global llvmgcc llvmgxx llvmgcc_version llvmgccmajvers ocamlc
|
||||
global gccpath gxxpath compile_c compile_cxx link shlibext llvmlibsdir llvmdsymutil
|
||||
global valgrind grep gas
|
||||
global gccpath gxxpath compile_c compile_cxx link shlibext llvmlibsdir
|
||||
global llvmdsymutil valgrind grep gas bugpoint_topts
|
||||
set path [file join $srcdir $subdir]
|
||||
|
||||
# Substitute all Tcl variables.
|
||||
@@ -77,6 +77,8 @@ proc substitute { line test tmpFile } {
|
||||
regsub -all {%llvmdsymutil} $new_line "$llvmdsymutil" new_line
|
||||
#replace %llvmlibsdir with configure library directory
|
||||
regsub -all {%llvmlibsdir} $new_line "$llvmlibsdir" new_line
|
||||
#replace %bugpoint_topts with actual bugpoint target options
|
||||
regsub -all {%bugpoint_topts} $new_line "$bugpoint_topts" new_line
|
||||
#replace %p with path to source,
|
||||
regsub -all {%p} $new_line [file join $srcdir $subdir] new_line
|
||||
#replace %s with filename
|
||||
|
||||
Reference in New Issue
Block a user