Ignore:
Timestamp:
May 6, 2016, 3:45:23 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
9e2c1f0, af18713, fac84be
Parents:
37024fd
Message:

add support for constructor/destructor attribute priority and set priority for library constructors to high

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixGlobalInit.h

    r37024fd r03e5d14  
    1010// Created On       : Mon May 04 15:14:56 2016
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed May 04 16:35:37 2016
     12// Last Modified On : Fri May 06 15:29:13 2016
    1313// Update Count     : 2
    1414//
     
    2424
    2525namespace InitTweak {
    26   /// Moves global initialization into an _init function that is unique to the translation unit
    27   void fixGlobalInit( std::list< Declaration * > & translationUnit, const std::string & name );
     26  /// Moves global initialization into an _init function that is unique to the translation unit.
     27  /// Sets the priority of the initialization function depending on whether the initialization
     28  /// function is for library code.
     29  void fixGlobalInit( std::list< Declaration * > & translationUnit, const std::string & name, bool inLibrary );
    2830
    2931  /// Apply transformations to a file name to get a valid C identifier which will be used as
Note: See TracChangeset for help on using the changeset viewer.