From ee37b6e4cd53b8e2412c522eeab4e39b434f00c6 Mon Sep 17 00:00:00 2001 From: David Meyer Date: Fri, 2 Mar 2012 23:43:51 +0000 Subject: 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 --- tools/llvm-readobj/llvm-readobj.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'tools') 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 -#include -#include #include "llvm/Object/ObjectFile.h" #include "llvm/Analysis/Verifier.h" #include "llvm/ADT/Triple.h" -- cgit v1.2.3-18-g5258