[llvm-commits] [llvm] r151957 - /llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp
David Meyer
pdox at google.com
Fri Mar 2 15:43:51 PST 2012
Author: pdox
Date: Fri Mar 2 17:43:51 2012
New Revision: 151957
URL: http://llvm.org/viewvc/llvm-project?rev=151957&view=rev
Log:
Fix comments for llvm-readobj, remove extraneous headers
Modified:
llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp
Modified: llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp?rev=151957&r1=151956&r2=151957&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp Fri Mar 2 17:43:51 2012
@@ -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"
More information about the llvm-commits
mailing list