diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-03-03 11:02:48 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-03-03 11:02:48 +0000 |
commit | 33435e49a99efe439081e34c29276745cf35e827 (patch) | |
tree | bd67d07bc0b2e2f2faabaa368db3c5df1103c06a /llvm/tools/llvmc/example/Skeleton/driver/Main.cpp | |
parent | b5f56fc2689831f3e0a6442d46bfaf59005247e0 (diff) | |
download | bcm5719-llvm-33435e49a99efe439081e34c29276745cf35e827.tar.gz bcm5719-llvm-33435e49a99efe439081e34c29276745cf35e827.zip |
Add example/Skeleton.
This is a template that can be used to build your own LLVMC-based drivers.
It can be also useful as a "bare-bones" LLVMC.
llvm-svn: 65944
Diffstat (limited to 'llvm/tools/llvmc/example/Skeleton/driver/Main.cpp')
-rw-r--r-- | llvm/tools/llvmc/example/Skeleton/driver/Main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/tools/llvmc/example/Skeleton/driver/Main.cpp b/llvm/tools/llvmc/example/Skeleton/driver/Main.cpp new file mode 100644 index 00000000000..b1f5b6798ae --- /dev/null +++ b/llvm/tools/llvmc/example/Skeleton/driver/Main.cpp @@ -0,0 +1,14 @@ +//===--- Main.cpp - The LLVM Compiler Driver -------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open +// Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// Just include CompilerDriver/Main.inc. +// +//===----------------------------------------------------------------------===// + +#include "llvm/CompilerDriver/Main.inc" |