Home | History | Annotate | Download | only in llvm-objdump

Lines Matching defs:file

1 //===-- llvm-objdump.cpp - Object file dumping utility for llvm -----------===//
5 // This file is distributed under the University of Illinois Open Source
11 // dumps out a plethora of information about an object file depending on the
78 Relocations("r", cl::desc("Display the relocation entries in the file"));
87 MachOOpt("macho", cl::desc("Use MachO specific object file parser"));
128 cl::desc("Display format specific file headers"));
140 " and write it to a graphviz file"));
147 outs() << ToolName << ": error reading file: " << ec.message() << ".\n";
180 // Write a graphviz file for the CFG inside an MCFunction.
183 // Start a new dot file.
714 << FileFunc // Name of function (F), file (f) or object (O).
774 /// @brief Dump each object file in \a a;
790 << "Unrecognized file type.\n";
794 /// @brief Open file and figure out how to dump it.
795 static void DumpInput(StringRef file) {
796 // If file isn't stdin, check that it exists.
797 if (file != "-" && !sys::fs::exists(file)) {
798 errs() << ToolName << ": '" << file << "': " << "No such file\n";
803 DisassembleInputMachO(file);
809 if (error_code ec = createBinary(file, binary)) {
810 errs() << ToolName << ": '" << file << "': " << ec.message() << ".\n";
819 errs() << ToolName << ": '" << file << "': " << "Unrecognized file type.\n";
837 cl::ParseCommandLineOptions(argc, argv, "llvm object file dumper\n");