nmtest.cc (2665:a124942bacb8) | nmtest.cc (5584:e08e65fd0f76) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 24 unchanged lines hidden (view full) --- 33#include <vector> 34 35#include "base/loader/object_file.hh" 36#include "base/loader/symtab.hh" 37#include "base/misc.hh" 38#include "base/str.hh" 39 40using namespace std; | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 24 unchanged lines hidden (view full) --- 33#include <vector> 34 35#include "base/loader/object_file.hh" 36#include "base/loader/symtab.hh" 37#include "base/misc.hh" 38#include "base/str.hh" 39 40using namespace std; |
41Tick curTick; | |
42 | 41 |
43ostream *outputStream = &cout; 44 | |
45int 46main(int argc, char *argv[]) 47{ 48 if (argc != 2 && argc != 3) 49 panic("usage: %s <filename> <symbol>\n", argv[0]); 50 51 ObjectFile *obj = createObjectFile(argv[1]); 52 if (!obj) --- 33 unchanged lines hidden --- | 42int 43main(int argc, char *argv[]) 44{ 45 if (argc != 2 && argc != 3) 46 panic("usage: %s <filename> <symbol>\n", argv[0]); 47 48 ObjectFile *obj = createObjectFile(argv[1]); 49 if (!obj) --- 33 unchanged lines hidden --- |