From b5f56fc2689831f3e0a6442d46bfaf59005247e0 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Tue, 3 Mar 2009 10:04:57 +0000 Subject: Comment fixes. llvm-svn: 65943 --- llvm/tools/llvmc/example/Simple/Simple.td | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'llvm/tools/llvmc/example/Simple/Simple.td') diff --git a/llvm/tools/llvmc/example/Simple/Simple.td b/llvm/tools/llvmc/example/Simple/Simple.td index b974cbc95eb..87bc385b7a7 100644 --- a/llvm/tools/llvmc/example/Simple/Simple.td +++ b/llvm/tools/llvmc/example/Simple/Simple.td @@ -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" -- cgit v1.2.3