LLVM API Documentation

Linker.cpp File Reference

#include "llvm/Linker.h"
#include "llvm/Module.h"
#include "llvm/Bytecode/Reader.h"
#include "llvm/Config/config.h"
#include <iostream>

Include dependency graph for Linker.cpp:

Go to the source code of this file.

Functions

static sys::Path IsLibrary (const std::string &Name, const sys::Path &Directory)


Function Documentation

static sys::Path IsLibrary ( const std::string &  Name,
const sys::Path Directory 
) [inline, static]

Definition at line 117 of file Linker.cpp.

References llvm::sys::Path::appendComponent(), llvm::sys::Path::appendSuffix(), llvm::sys::Path::clear(), llvm::sys::Path::eraseSuffix(), llvm::sys::Path::isArchive(), llvm::sys::Path::isDirectory(), and LTDL_SHLIB_EXT.

Referenced by llvm::Linker::FindLib().