Anton Korobeynikov | e9ffb5b | 2008-03-23 08:57:20 +0000 | [diff] [blame] | 1 | //===--- Utility.h - The LLVM Compiler Driver -------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open |
| 6 | // Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // Various helper and utility functions. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef LLVM_TOOLS_LLVMCC_UTILITY_H |
| 15 | #define LLVM_TOOLS_LLVMCC_UTILITY_H |
| 16 | |
| 17 | #include <string> |
| 18 | #include <vector> |
| 19 | |
| 20 | namespace llvmcc { |
| 21 | |
| 22 | int ExecuteProgram (const std::string& name, |
| 23 | const std::vector<std::string>& arguments); |
| 24 | |
| 25 | } |
| 26 | |
| 27 | #endif // LLVM_TOOLS_LLVMCC_UTILITY_H |