mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
20 lines
598 B
C++
20 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
|