mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
llvm-lib is intended to be a lib.exe compatible utility that also understands bitcode. The implementation lives in a library so that lld can use it to implement /lib. Differential Revision: http://reviews.llvm.org/D10297 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239434 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
709 B
C++
25 lines
709 B
C++
//===- llvm/LibDriver/LibDriver.h - lib.exe-compatible driver ---*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Defines an interface to a lib.exe-compatible driver that also understands
|
|
// bitcode files. Used by llvm-lib and lld-link2 /lib.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBDRIVER_LIBDRIVER_H
|
|
#define LLVM_LIBDRIVER_LIBDRIVER_H
|
|
|
|
namespace llvm {
|
|
|
|
int libDriverMain(int argc, const char **argv);
|
|
|
|
}
|
|
|
|
#endif
|