mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 19:36:06 +03:00

1. Main include corresponding to .cpp file, if any. 2. DMD and LDC includes. 3. LLVM includes. 4. System includes. Also updated a few include guards to match the default format.
23 lines
657 B
C++
23 lines
657 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_DRIVER_TOOBJ_H
|
||
#define LDC_DRIVER_TOOBJ_H
|
||
|
||
#include <string>
|
||
|
||
namespace llvm { class Module; }
|
||
|
||
void writeModule(llvm::Module* m, std::string filename);
|
||
|
||
#endif
|