[llvm-commits] CVS: llvm/utils/llvm-native-gcc
John Criswell
criswell at cs.uiuc.edu
Tue Mar 2 10:07:29 PST 2004
Changes in directory llvm/utils:
llvm-native-gcc updated: 1.2 -> 1.3
---
Log message:
Added EH support.
---
Diffs of the changes: (+5 -5)
Index: llvm/utils/llvm-native-gcc
diff -u llvm/utils/llvm-native-gcc:1.2 llvm/utils/llvm-native-gcc:1.3
--- llvm/utils/llvm-native-gcc:1.2 Wed Feb 25 11:15:02 2004
+++ llvm/utils/llvm-native-gcc Tue Mar 2 09:54:25 2004
@@ -4,7 +4,7 @@
# set up defaults.
$Verbose = 0;
-$SaveTemps = 0;
+$SaveTemps = 1;
$PreprocessOnly = 0;
$CompileDontLink = 0;
$Backend = 'cbe';
@@ -114,14 +114,14 @@
} else {
$GeneratedCode = "/tmp/nativebuild-$$.c";
}
- run "llc -march=c -f -o $GeneratedCode $BCFile";
+ run "llc -enable-correct-eh-support -march=c -f -o $GeneratedCode $BCFile";
} elsif ($Backend eq 'llc') {
if ($SaveTemps) {
$GeneratedCode = "${OutputFile}.s";
} else {
$GeneratedCode = "/tmp/nativebuild-$$.s";
}
- run "llc -f -o $GeneratedCode $BCFile";
+ run "llc -enable-correct-eh-support -f -o $GeneratedCode $BCFile";
}
my $LibDirs = join (" ", @LibDirs);
my $Libs = join (" ", @Libs);
@@ -145,10 +145,10 @@
my $GeneratedCode;
if ($Backend eq 'cbe') {
$GeneratedCode = "${OutputFile}.cbe.c";
- run "llc -march=c -f -o $GeneratedCode $BCFile";
+ run "llc -enable-correct-eh-support -march=c -f -o $GeneratedCode $BCFile";
} elsif ($Backend eq 'llc') {
$GeneratedCode = "${OutputFile}.llc.s";
- run "llc -f -o $GeneratedCode $BCFile";
+ run "llc -enable-correct-eh-support -f -o $GeneratedCode $BCFile";
}
my $NativeGCCOptions = "";
if ($CompileDontLink) {
More information about the llvm-commits
mailing list