Changeset eb2e723 for src/InitTweak
- Timestamp:
- Jan 19, 2017, 2:42:49 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 35dd180f
- Parents:
- 2175062
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixGlobalInit.cc
r2175062 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.