LLVM  6.0.0svn
Macros | Enumerations | Functions
LibDriver.cpp File Reference
#include "llvm/ToolDrivers/llvm-lib/LibDriver.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/BinaryFormat/Magic.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/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/StringSaver.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, _12)   OPT_##ID,
 
#define PREFIX(NAME, VALUE)   const char *const NAME[] = VALUE;
 
#define OPTION(X1, X2, ID, KIND, GROUP, ALIAS, X7, X8, X9, X10, X11, X12)
 

Enumerations

enum  
 

Functions

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

Macro Definition Documentation

◆ OPTION [1/2]

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

Definition at line 34 of file LibDriver.cpp.

◆ OPTION [2/2]

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

Definition at line 34 of file LibDriver.cpp.

◆ PREFIX

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

Definition at line 39 of file LibDriver.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Definition at line 32 of file LibDriver.cpp.

Function Documentation

◆ findInputFile()

static std::string findInputFile ( StringRef  File,
ArrayRef< StringRef Paths 
)
static

◆ getOutputPath()

static std::string getOutputPath ( opt::InputArgList Args,
const NewArchiveMember FirstMember 
)
static

◆ getSearchPaths()

static std::vector<StringRef> getSearchPaths ( opt::InputArgList Args,
StringSaver Saver 
)
static