[objdump,readobj] Document the purpose and goals of each tool.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 5 Feb 2013 20:27:22 +0000 (20:27 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 5 Feb 2013 20:27:22 +0000 (20:27 +0000)
llvm-svn: 174439

llvm/tools/llvm-objdump/llvm-objdump.cpp
llvm/tools/llvm-readobj/llvm-readobj.cpp

index 24b586c..95f7690 100644 (file)
@@ -11,6 +11,9 @@
 // dumps out a plethora of information about an object file depending on the
 // flags.
 //
+// The flags and output of this program should be near identical to those of
+// binutils objdump.
+//
 //===----------------------------------------------------------------------===//
 
 #include "llvm-objdump.h"
index d22ecd1..2edb660 100644 (file)
@@ -7,12 +7,15 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This program is a utility that works like traditional Unix "readelf",
-// except that it can handle any type of object file recognized by lib/Object.
+// This is a tool similar to readelf, except it works on multiple object file
+// formats. The main purpose of this tool is to provide detailed output suitable
+// for FileCheck.
 //
-// It makes use of the generic ObjectFile interface.
+// Flags should be similar to readelf where supported, but the output format
+// does not need to be identical. The point is to not make users learn yet
+// another set of flags.
 //
-// Caution: This utility is new, experimental, unsupported, and incomplete.
+// Output should be specialized for each format where appropriate.
 //
 //===----------------------------------------------------------------------===//