mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-08-02 04:20:05 +02:00
Fixed the order of static destructors
This commit is contained in:
@@ -160,14 +160,14 @@ struct IRState
|
||||
llvm::DIFactory difactory;
|
||||
|
||||
// static ctors/dtors/unittests
|
||||
typedef std::vector<FuncDeclaration*> FuncDeclVector;
|
||||
FuncDeclVector ctors;
|
||||
FuncDeclVector dtors;
|
||||
typedef std::list<FuncDeclaration*> FuncDeclList;
|
||||
FuncDeclList ctors;
|
||||
FuncDeclList dtors;
|
||||
#if DMDV2
|
||||
FuncDeclVector sharedCtors;
|
||||
FuncDeclVector sharedDtors;
|
||||
FuncDeclList sharedCtors;
|
||||
FuncDeclList sharedDtors;
|
||||
#endif
|
||||
FuncDeclVector unitTests;
|
||||
FuncDeclList unitTests;
|
||||
|
||||
// all template instances that had members emitted
|
||||
// currently only filled for singleobj
|
||||
|
||||
Reference in New Issue
Block a user