[llvm-commits] [llvm] r65943 - in /llvm/trunk/tools/llvmc/example: Hello/Hello.cpp Simple/Simple.td
Mikhail Glushenkov
foldr at codedgers.com
Tue Mar 3 02:05:00 PST 2009
Author: foldr
Date: Tue Mar 3 04:04:57 2009
New Revision: 65943
URL: http://llvm.org/viewvc/llvm-project?rev=65943&view=rev
Log:
Comment fixes.
Modified:
llvm/trunk/tools/llvmc/example/Hello/Hello.cpp
llvm/trunk/tools/llvmc/example/Simple/Simple.td
Modified: llvm/trunk/tools/llvmc/example/Hello/Hello.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc/example/Hello/Hello.cpp?rev=65943&r1=65942&r2=65943&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc/example/Hello/Hello.cpp (original)
+++ llvm/trunk/tools/llvmc/example/Hello/Hello.cpp Tue Mar 3 04:04:57 2009
@@ -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
//
Modified: llvm/trunk/tools/llvmc/example/Simple/Simple.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc/example/Simple/Simple.td?rev=65943&r1=65942&r2=65943&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc/example/Simple/Simple.td (original)
+++ llvm/trunk/tools/llvmc/example/Simple/Simple.td Tue Mar 3 04:04:57 2009
@@ -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"
More information about the llvm-commits
mailing list