mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
7defa2d3d5
The -save-temps option now behaves like described in GCC 4.5 release notes (you can specify output directory for temporary files with -save-temps=obj -o $DIRNAME). I do not have GCC 4.5 installed, so if there are any inconsistencies between llvmc and GCC in the implementation of this feature, please let me know. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74190 91177308-0d34-0410-b5e6-96231b3b80d8
34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
//===--- BuiltinOptions.h - 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.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Declarations of all global command-line option variables.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H
|
|
#define LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H
|
|
|
|
#include "llvm/Support/CommandLine.h"
|
|
|
|
#include <string>
|
|
|
|
namespace SaveTempsEnum { enum Values { Cwd, Obj, Unset }; }
|
|
|
|
extern llvm::cl::list<std::string> InputFilenames;
|
|
extern llvm::cl::opt<std::string> OutputFilename;
|
|
extern llvm::cl::list<std::string> Languages;
|
|
extern llvm::cl::opt<bool> DryRun;
|
|
extern llvm::cl::opt<bool> VerboseMode;
|
|
extern llvm::cl::opt<bool> CheckGraph;
|
|
extern llvm::cl::opt<bool> WriteGraph;
|
|
extern llvm::cl::opt<bool> ViewGraph;
|
|
extern llvm::cl::opt<SaveTempsEnum::Values> SaveTemps;
|
|
|
|
#endif // LLVM_INCLUDE_COMPILER_DRIVER_BUILTIN_OPTIONS_H
|