mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-22 02:37:26 +02: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:
+2
-2
@@ -148,8 +148,8 @@ struct IrStruct : IrBase
|
||||
// align(1) struct S { ... }
|
||||
bool packed;
|
||||
|
||||
// dwarf composite global
|
||||
LLGlobalVariable* dwarfComposite;
|
||||
// composite type debug description
|
||||
llvm::DICompositeType diCompositeType;
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user