mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Automatically pass -emit-llvm to llvmgcc when using %llvmgcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26623 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e25f5bb196
commit
3726ff0099
@ -57,10 +57,10 @@ proc llvm-runtest { programs objdir srcdir subdir target_triplet llvmgcc llvmgxx
|
|||||||
regsub -all {%p} $new_runline [file join $srcdir $subdir] new_runline
|
regsub -all {%p} $new_runline [file join $srcdir $subdir] new_runline
|
||||||
|
|
||||||
#replace %llvmgcc with actual path to llvmgcc
|
#replace %llvmgcc with actual path to llvmgcc
|
||||||
regsub -all {%llvmgcc} $new_runline $llvmgcc new_runline
|
regsub -all {%llvmgcc} $new_runline "$llvmgcc -emit-llvm" new_runline
|
||||||
|
|
||||||
#replace %llvmgxx with actual path to llvmg++
|
#replace %llvmgxx with actual path to llvmg++
|
||||||
regsub -all {%llvmgxx} $new_runline $llvmgxx new_runline
|
regsub -all {%llvmgxx} $new_runline "$llvmgxx -emit-llvm" new_runline
|
||||||
|
|
||||||
puts $scriptFileId $new_runline
|
puts $scriptFileId $new_runline
|
||||||
} elseif {[regexp {XFAIL:[ *](.+)} $line match targets]} {
|
} elseif {[regexp {XFAIL:[ *](.+)} $line match targets]} {
|
||||||
|
Loading…
Reference in New Issue
Block a user