mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 16:11:08 +03:00
19 lines
598 B
C++
19 lines
598 B
C++
//===-- driver/toobj.h - Object file emission -------------------*- C++ -*-===//
|
||
//
|
||
// LDC – the LLVM D compiler
|
||
//
|
||
// This file is distributed under the BSD-style LDC license. See the LICENSE
|
||
// file for details.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
//
|
||
// Handles emission of "finished" LLVM modules to on-disk object files.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
#ifndef LDC_GEN_TOOBJ_H
|
||
#define LDC_GEN_TOOBJ_H
|
||
|
||
void writeModule(llvm::Module* m, std::string filename);
|
||
|
||
#endif
|