Changes in src/InitTweak/FixGlobalInit.cc [f9cebb5:eb2e723]
- File:
-
- 1 edited
-
src/InitTweak/FixGlobalInit.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixGlobalInit.cc
rf9cebb5 reb2e723 84 84 // for library code are run before constructors and destructors for user code, 85 85 // specify a priority when building the library. Priorities 0-100 are reserved by gcc. 86 ctorParameters.push_back( new ConstantExpr( Constant::from_int( 10 1) ) );87 dtorParameters.push_back( new ConstantExpr( Constant::from_int( 10 1) ) );86 ctorParameters.push_back( new ConstantExpr( Constant::from_int( 102 ) ) ); 87 dtorParameters.push_back( new ConstantExpr( Constant::from_int( 102 ) ) ); 88 88 } 89 89 initFunction = new FunctionDecl( "_init_" + fixedName, DeclarationNode::Static, LinkageSpec::C, new FunctionType( Type::Qualifiers(), false ), new CompoundStmt( noLabels ), false, false );
Note:
See TracChangeset
for help on using the changeset viewer.