Comment fixes.
authorMikhail Glushenkov <foldr@codedgers.com>
Tue, 3 Mar 2009 10:04:57 +0000 (10:04 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Tue, 3 Mar 2009 10:04:57 +0000 (10:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65943 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc/example/Hello/Hello.cpp
tools/llvmc/example/Simple/Simple.td

index 395ef9bbd486ab92357ad94099bab594bcac372d..23a13a57c2b84844358892b087ddf37d76395400 100644 (file)
@@ -1,4 +1,4 @@
-//===- Hello.cpp - Example code from "Writing an LLVM Pass" ---------------===//
+//===- Hello.cpp - Example code from "Writing an LLVMC Plugin" ------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index b974cbc95eb69fc0393a6a9fe11762b417e018a5..87bc385b7a70c975ef5c7ff8efbb0f72b19e804c 100644 (file)
@@ -1,19 +1,26 @@
-// A simple wrapper for gcc.
-// To compile, use this command:
+//===- Simple.td - A simple plugin for LLVMC ------------------------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
-//      $ cd $LLVMC2_DIR
-//      $ make DRIVER_NAME=mygcc BUILTIN_PLUGINS=Simple
+//===----------------------------------------------------------------------===//
 //
-// To build this plugin as a dynamic library:
+// A simple LLVMC-based gcc wrapper that shows how to write LLVMC plugins.
 //
-//      $ cd $LLVMC2_DIR
-//      $ make BUILTIN_PLUGINS=""
-//      $ cd plugins/Simple
+// To compile, use this command:
+//
+//      $ cd $LLVMC_DIR/example/Simple
 //      $ make
 //
 // Run as:
 //
-//      $ llvmc2 -load $LLVM_DIR/Release/lib/LLVMCSimple.so
+//      $ llvmc -load $LLVM_DIR/Release/lib/plugin_llvmc_Simple.so
+//
+// For instructions on how to build your own LLVMC-based driver, see
+// the 'example/Skeleton' directory.
+//===----------------------------------------------------------------------===//
 
 include "llvm/CompilerDriver/Common.td"