view ir/irmodule.h @ 808:4ad1e7b10378

when building the runtime pass -fPIC for shared libs and -disable-invariants for gc
author elrood
date Sun, 30 Nov 2008 19:19:39 +0100
parents b411c41a9716
children 1714836f2c0b
line wrap: on
line source

#ifndef LDC_IR_IRMODULE_H
#define LDC_IR_IRMODULE_H

#include "ir/ir.h"

struct Module;

struct IrModule : IrBase
{
    IrModule(Module* module, const char* srcfilename);
    virtual ~IrModule();

    Module* M;

    LLGlobalVariable* dwarfCompileUnit;
    LLGlobalVariable* fileName;
};

#endif