Initial checkin of llvmprof stub
[oota-llvm.git] / tools / llvm-prof / llvm-prof.cpp
1 //===- llvm-prof.cpp - Read in and process llvmprof.out data files --------===//
2 // 
3 //                      The LLVM Compiler Infrastructure
4 //
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
7 // 
8 //===----------------------------------------------------------------------===//
9 //
10 // This tools is meant for use with the various LLVM profiling instrumentation
11 // passes.  It reads in the data file produced by executing an instrumented
12 // program, and outputs a nice report.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #include "llvm/Bytecode/Reader.h"
17 #include "Support/CommandLine.h"
18
19 namespace {
20   cl::opt<std::string> 
21   BytecodeFile(cl::Positional, cl::desc("<program bytecode file>"),
22                cl::Required);
23
24   cl::opt<std::string> 
25   ProfileDataFile(cl::Positional, cl::desc("<llvmprof.out file>"),
26                   cl::Optional, cl::init("llvmprof.out"));
27 }
28
29 int main(int argc, char **argv) {
30   cl::ParseCommandLineOptions(argc, argv, " llvm profile dump decoder\n");
31  
32
33
34
35   return 0;
36 }