Fix comments for llvm-readobj, remove extraneous headers
authorDavid Meyer <pdox@google.com>
Fri, 2 Mar 2012 23:43:51 +0000 (23:43 +0000)
committerDavid Meyer <pdox@google.com>
Fri, 2 Mar 2012 23:43:51 +0000 (23:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151957 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-readobj/llvm-readobj.cpp

index 215039f5be762f87c615132545ca730f5cad95d2..3f8789dc17751e148b3b546d4db69a1b1a7182fe 100644 (file)
@@ -1,4 +1,4 @@
-/*===- pso-stub.c - Stub executable to run llvm bitcode files -------------===//
+//===- llvm-readobj.cpp - Dump contents of an Object File -----------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,11 +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.
+//
+// It makes use of the generic ObjectFile interface.
+//
+// Caution: This utility is new, experimental, unsupported, and incomplete.
+//
+//===----------------------------------------------------------------------===//
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
 #include "llvm/Object/ObjectFile.h"
 #include "llvm/Analysis/Verifier.h"
 #include "llvm/ADT/Triple.h"