mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-22 15:53:14 +01:00
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.
This commit is contained in:
@@ -33,7 +33,8 @@ IrStruct::IrStruct(AggregateDeclaration* aggr)
|
||||
: initOpaque(llvm::OpaqueType::get()),
|
||||
classInfoOpaque(llvm::OpaqueType::get()),
|
||||
vtblTy(llvm::OpaqueType::get()),
|
||||
vtblInitTy(llvm::OpaqueType::get())
|
||||
vtblInitTy(llvm::OpaqueType::get()),
|
||||
diCompositeType(NULL)
|
||||
{
|
||||
aggrdecl = aggr;
|
||||
defaultFound = false;
|
||||
@@ -57,8 +58,6 @@ IrStruct::IrStruct(AggregateDeclaration* aggr)
|
||||
classInfoDefined = false;
|
||||
|
||||
packed = false;
|
||||
|
||||
dwarfComposite = NULL;
|
||||
}
|
||||
|
||||
IrStruct::~IrStruct()
|
||||
|
||||
Reference in New Issue
Block a user