aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorDavid Meyer <pdox@google.com>2012-03-02 23:43:51 +0000
committerDavid Meyer <pdox@google.com>2012-03-02 23:43:51 +0000
commitee37b6e4cd53b8e2412c522eeab4e39b434f00c6 (patch)
treee766b8c374478e2e7beffd7c577ecd4abb90b2c3 /tools/llvm-readobj/llvm-readobj.cpp
parent171cda96c8fa7ea48f792b700847e750a2036f2f (diff)
Fix comments for llvm-readobj, remove extraneous headers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-readobj/llvm-readobj.cpp')
-rw-r--r--tools/llvm-readobj/llvm-readobj.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/tools/llvm-readobj/llvm-readobj.cpp b/tools/llvm-readobj/llvm-readobj.cpp
index 215039f5be..3f8789dc17 100644
--- a/tools/llvm-readobj/llvm-readobj.cpp
+++ b/tools/llvm-readobj/llvm-readobj.cpp
@@ -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"