Changeset 2625df4 in rtems-testing


Ignore:
Timestamp:
Sep 12, 2012, 5:12:54 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
01a0d0e, c2dbc47
Parents:
5c981b2
Message:

SymbolTable?.cc: Improve diagnostics on method size mismatch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • covoar/SymbolTable.cc

    r5c981b2 r2625df4  
    4646     
    4747    if ( info[ symbol ].empty() == false ) {
    48       if ( info[symbol ].front().length != length ) {
    49         fprintf(stderr, "ERROR==> Different lengths for the symbol %s\n", symbol.c_str() );
     48      if ( info[ symbol ].front().length != length ) {
     49        fprintf(stderr,
     50          "ERROR==> Different lengths for the symbol %s (%d and %d)\n",
     51          symbol.c_str(),
     52          info[ symbol ].front().length,
     53          length
     54        );
    5055        exit( 0 );
    5156      }
    5257    }
    53    
     58
    5459    info[ symbol ].push_back( symbolData );
    5560  }
Note: See TracChangeset for help on using the changeset viewer.