[llvm-commits] CVS: llvm-www/demo/index.cgi

Chris Lattner lattner at cs.uiuc.edu
Mon May 9 15:23:54 PDT 2005



Changes in directory llvm-www/demo:

index.cgi updated: 1.43 -> 1.44
---
Log message:

allow internalize to work


---
Diffs of the changes:  (+4 -3)

 index.cgi |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


Index: llvm-www/demo/index.cgi
diff -u llvm-www/demo/index.cgi:1.43 llvm-www/demo/index.cgi:1.44
--- llvm-www/demo/index.cgi:1.43	Fri May  6 01:07:49 2005
+++ llvm-www/demo/index.cgi	Mon May  9 17:23:37 2005
@@ -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: 2005/05/06 06:07:49 $
+# Last modified $Date: 2005/05/09 22:23:37 $
 #
 
 use strict;
@@ -388,10 +388,11 @@
         my $tmpFile = getname(".bc");
         try_run(
             "optimizing linker (gccld)",
-"gccld $stats --link-as-library -o=$tmpFile $bytecodeFile > $outputFile 2>&1",
+"gccld $stats -o=$tmpFile $bytecodeFile > $outputFile 2>&1",
             $outputFile
         );
-        system("mv $tmpFile $bytecodeFile");
+        system("mv $tmpFile.bc $bytecodeFile");
+        system("rm $tmpFile");
 
         if ( $c->param('showstats') && -s $timerFile ) {
             my ( $UnhilightedResult, $HtmlResult ) =






More information about the llvm-commits mailing list