LLVM  3.7.0
Macros | Enumerations | Functions
LibDriver.cpp File Reference
#include "llvm/LibDriver/LibDriver.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Object/ArchiveWriter.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/Option.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/StringSaver.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/raw_ostream.h"
#include "Options.inc"
Include dependency graph for LibDriver.cpp:

Go to the source code of this file.

Macros

#define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11)   OPT_##ID,
 
#define PREFIX(NAME, VALUE)   const char *const NAME[] = VALUE;
 
#define OPTION(X1, X2, ID, KIND, GROUP, ALIAS, X6, X7, X8, X9, X10)
 

Enumerations

enum  
 

Functions

static std::string getOutputPath (llvm::opt::InputArgList *Args, const llvm::NewArchiveIterator &FirstMember)
 
static std::vector< StringRefgetSearchPaths (llvm::opt::InputArgList *Args, StringSaver &Saver)
 
static Optional< std::string > findInputFile (StringRef File, ArrayRef< StringRef > Paths)
 

Macro Definition Documentation

#define OPTION (   _1,
  _2,
  ID,
  _4,
  _5,
  _6,
  _7,
  _8,
  _9,
  _10,
  _11 
)    OPT_##ID,

Definition at line 33 of file LibDriver.cpp.

#define OPTION (   X1,
  X2,
  ID,
  KIND,
  GROUP,
  ALIAS,
  X6,
  X7,
  X8,
  X9,
  X10 
)
Value:
{ \
X1, X2, X9, X10, OPT_##ID, llvm::opt::Option::KIND##Class, X8, X7, \
OPT_##GROUP, OPT_##ALIAS, X6 \
},

Definition at line 33 of file LibDriver.cpp.

#define PREFIX (   NAME,
  VALUE 
)    const char *const NAME[] = VALUE;

Definition at line 38 of file LibDriver.cpp.

Enumeration Type Documentation

anonymous enum

Definition at line 31 of file LibDriver.cpp.

Function Documentation

static Optional<std::string> findInputFile ( StringRef  File,
ArrayRef< StringRef Paths 
)
static
static std::string getOutputPath ( llvm::opt::InputArgList Args,
const llvm::NewArchiveIterator FirstMember 
)
static
static std::vector<StringRef> getSearchPaths ( llvm::opt::InputArgList Args,
StringSaver Saver 
)
static