comparison ir/irfunction.h @ 946:1714836f2c0b

Mostly rewrite debug info generation in terms of llvm/Analysis/DebugInfo.h. Add getCompilationModule to Dsymbol and fix template compile unit decision code. Runtime compiles with -g again.
author Christian Kamm <kamm incasoftware de>
date Sun, 08 Feb 2009 16:50:22 +0100
parents 2ebac4750adb
children 9167d492cbc2
comparison
equal deleted inserted replaced
945:03d7c4aac654 946:1714836f2c0b
26 llvm::Value* nestedVar; // nested var alloca 26 llvm::Value* nestedVar; // nested var alloca
27 27
28 llvm::Value* _arguments; 28 llvm::Value* _arguments;
29 llvm::Value* _argptr; 29 llvm::Value* _argptr;
30 30
31 llvm::Constant* dwarfSubProg; 31 llvm::DISubprogram diSubprogram;
32 32
33 // pushes a unique label scope of the given name 33 // pushes a unique label scope of the given name
34 void pushUniqueLabelScope(const char* name); 34 void pushUniqueLabelScope(const char* name);
35 // pops a label scope 35 // pops a label scope
36 void popLabelScope(); 36 void popLabelScope();