blob: 7825b112438ff95892a4334d9d693e3468bd39e8 [file] [log] [blame]
Daniel Dunbar75373ac2010-11-27 05:58:44 +00001//===-- macho-dump.cpp - Mach Object Dumping Tool -------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This is a testing tool for use with the MC/Mach-O LLVM components.
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm/Support/CommandLine.h"
15#include "llvm/Support/ManagedStatic.h"
16#include "llvm/Support/raw_ostream.h"
17using namespace llvm;
18
19static cl::opt<std::string>
20InputFile(cl::Positional, cl::desc("<input file>"), cl::init("-"));
21
22int main(int argc, char **argv) {
23 const char *ProgramName = argv[0];
24 llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
25
26 cl::ParseCommandLineOptions(argc, argv, "llvm Mach-O dumping tool\n");
27
28 errs() << ProgramName << ": " << "not yet implemented!" << "\n";
29 return 1;
30}