1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

NNT: Remove .{o,a} size info, this is better tracked elsewhere.

llvm-svn: 84488
This commit is contained in:
Daniel Dunbar 2009-10-19 13:20:00 +00:00
parent 362e0a87c2
commit 824984e517

View File

@ -646,31 +646,6 @@ elsif (`grep '^$MAKECMD\[^:]*: .*Error' $BuildLog | wc -l` + 0 ||
}
if ($BuildError) { $NODEJAGNU=1; }
my $a_file_sizes="";
my $o_file_sizes="";
if (!$BuildError) {
print "Organizing size of .o and .a files\n"
if ( $VERBOSE );
ChangeDir( "$LLVMObjDir", "Build Directory" );
my @dirs = ('utils', 'lib', 'tools');
if($BUILDTYPE eq "release"){
push @dirs, 'Release';
} elsif($BUILDTYPE eq "release-asserts") {
push @dirs, 'Release-Asserts';
} else {
push @dirs, 'Debug';
}
find(sub {
$a_file_sizes .= (-s $_)." $File::Find::name $BUILDTYPE\n" if /\.a$/i;
$o_file_sizes .= (-s $_)." $File::Find::name $BUILDTYPE\n" if /\.o$/i;
}, @dirs);
} else {
$a_file_sizes="No data due to a bad build.";
$o_file_sizes="No data due to a bad build.";
}
##############################################################
#
# Running dejagnu tests
@ -931,8 +906,8 @@ my %hash_of_data = (
'dejagnutests_log' => $dejagnulog_full,
'starttime' => $starttime,
'endtime' => $endtime,
'o_file_sizes' => $o_file_sizes,
'a_file_sizes' => $a_file_sizes,
'o_file_sizes' => "",
'a_file_sizes' => "",
'target_triple' => $targetTriple
);