[llvm-commits] CVS: llvm-www/demo/index.cgi
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Nov 20 18:35:01 PST 2003
Changes in directory llvm-www/demo:
index.cgi updated: 1.10 -> 1.11
---
Log message:
Ok, I am seriously braindamaged. I was trying to run gccld on gcc's standard
output. :-P
---
Diffs of the changes: (+4 -4)
Index: llvm-www/demo/index.cgi
diff -u llvm-www/demo/index.cgi:1.10 llvm-www/demo/index.cgi:1.11
--- llvm-www/demo/index.cgi:1.10 Thu Nov 20 18:32:23 2003
+++ llvm-www/demo/index.cgi Thu Nov 20 18:33:50 2003
@@ -5,7 +5,7 @@
# doing remote web JO99C compilations. (It could still be used for that
# purpose, though the two scripts have diverged somewhat.)
#
-# Last modified $Date: 2003/11/21 00:32:23 $
+# Last modified $Date: 2003/11/21 00:33:50 $
#
use CGI;
@@ -281,11 +281,11 @@
if ( $c->param('linkopt') ) {
print " Running link-time optimizer.\n";
my $tmpFile = getname(".bc");
- system("gccld --link-as-library -o=$tmpFile $outputFile 2>&1");
- system("mv $tmpFile $outputFile");
+ system("gccld --link-as-library -o=$tmpFile $bytecodeFile 2>&1");
+ system("mv $tmpFile $bytecodeFile");
}
- print " Bytecode size is ", -s $outputFile, " bytes.\n";
+ print " Bytecode size is ", -s $bytecodeFile, " bytes.\n";
my $disassemblyFile = getname(".ll");
try_run( "llvm-dis",
More information about the llvm-commits
mailing list