Add new raptor-analysis recipe-failure category: elf2e32_symbol_missing_from_elf_file
authorDario Sestito <darios@symbian.org>
Thu, 05 Nov 2009 15:33:29 +0000
changeset 738 53abda826a9f
parent 737 12fc0aa86db9
child 739 552776214487
Add new raptor-analysis recipe-failure category: elf2e32_symbol_missing_from_elf_file
common/tools/raptor/RaptorRecipe.pm
--- a/common/tools/raptor/RaptorRecipe.pm	Wed Nov 04 11:35:53 2009 +0000
+++ b/common/tools/raptor/RaptorRecipe.pm	Thu Nov 05 15:33:29 2009 +0000
@@ -57,6 +57,8 @@
 my $CATEGORY_RECIPEFAILURE_ARMCC_CONTROLLINGEXPRESSIONISCONSTANT = 'armcc_controlling_expression_is_constant';
 my $CATEGORY_RECIPEFAILURE_ARMCC_INTERNALFAULT = 'armcc_internal_fault';
 my $CATEGORY_RECIPEFAILURE_ARMCC_GENERICWARNINGSERRORS = 'armcc_generic_warnings_errors';
+my $CATEGORY_RECIPEFAILURE_ELF2E32_SYMBOLMISSINGFROMELFFILE = 'elf2e32_symbol_missing_from_elf_file';
+
 
 sub process
 {
@@ -84,6 +86,12 @@
 		my $subcategory = $CATEGORY_RECIPEFAILURE_ELF2E32_COULDNOTOPENFILE;
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $component, $phase, $recipe, $file, $line);
 	}
+	elsif ($text =~ m,elf2e32 : Error: E1036: Symbol .* Missing from ELF File,)
+	{
+		$severity = $RaptorCommon::SEVERITY_MAJOR;
+		my $subcategory = $CATEGORY_RECIPEFAILURE_ELF2E32_SYMBOLMISSINGFROMELFFILE;
+		RaptorCommon::dump_fault($category, $subcategory, $severity, $component, $phase, $recipe, $file, $line);
+	}
 	elsif ($text =~ m,Error: L6833E: File '.*' does not exist,)
 	{
 		$severity = $RaptorCommon::SEVERITY_MAJOR;