Daniel Dunbar | 75373ac | 2010-11-27 05:58:44 +0000 | [diff] [blame^] | 1 | //===-- 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" |
| 17 | using namespace llvm; |
| 18 | |
| 19 | static cl::opt<std::string> |
| 20 | InputFile(cl::Positional, cl::desc("<input file>"), cl::init("-")); |
| 21 | |
| 22 | int 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 | } |