~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to lackey/lk_main.c

  • Committer: Benjamin Kerensa
  • Date: 2012-11-21 23:57:58 UTC
  • mfrom: (1.1.16)
  • Revision ID: bkerensa@ubuntu.com-20121121235758-bd1rv5uc5vzov2p6
Merge from debian unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
   This file is part of Lackey, an example Valgrind tool that does
8
8
   some simple program measurement and tracing.
9
9
 
10
 
   Copyright (C) 2002-2011 Nicholas Nethercote
 
10
   Copyright (C) 2002-2012 Nicholas Nethercote
11
11
      njn@valgrind.org
12
12
 
13
13
   This program is free software; you can redistribute it and/or
301
301
 
302
302
/* --- Types --- */
303
303
 
304
 
#define N_TYPES 10
 
304
#define N_TYPES 11
305
305
 
306
306
static Int type2index ( IRType ty )
307
307
{
316
316
      case Ity_F64:     return 7;
317
317
      case Ity_F128:    return 8;
318
318
      case Ity_V128:    return 9;
 
319
      case Ity_V256:    return 10;
319
320
      default: tl_assert(0);
320
321
   }
321
322
}
333
334
      case 7: return "F64";  break;
334
335
      case 8: return "F128";  break;
335
336
      case 9: return "V128"; break;
 
337
      case 10: return "V256"; break;
336
338
      default: tl_assert(0);
337
339
   }
338
340
}
967
969
   VG_(details_version)         (NULL);
968
970
   VG_(details_description)     ("an example Valgrind tool");
969
971
   VG_(details_copyright_author)(
970
 
      "Copyright (C) 2002-2011, and GNU GPL'd, by Nicholas Nethercote.");
 
972
      "Copyright (C) 2002-2012, and GNU GPL'd, by Nicholas Nethercote.");
971
973
   VG_(details_bug_reports_to)  (VG_BUGS_TO);
972
974
   VG_(details_avg_translation_sizeB) ( 200 );
973
975