Changeset d8cb7df for src


Ignore:
Timestamp:
Aug 3, 2018, 9:02:13 AM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
364d70c
Parents:
c20fafd
Message:

Update mangling for opaque types

Location:
src/SymTab
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.cc

    rc20fafd rd8cb7df  
    237237                                VarMapType::iterator varNum = varNums.find( typeInst->get_name() );
    238238                                if ( varNum == varNums.end() ) {
    239                                         mangleRef( typeInst, "t" );
     239                                        mangleRef( typeInst, Encoding::type );
    240240                                } else {
    241241                                        printQualifiers( typeInst );
     
    273273                                printQualifiers( varArgsType );
    274274                                static const std::string vargs = "__builtin_va_list";
    275                                 mangleName << vargs.size() << vargs;
     275                                mangleName << Encoding::type << vargs.size() << vargs;
    276276                        }
    277277
  • src/SymTab/Mangler.h

    rc20fafd rd8cb7df  
    6060                        extern const std::string union_t;
    6161                        extern const std::string enum_t;
     62                        extern const std::string type;
    6263
    6364                        extern const std::string autogen;
  • src/SymTab/ManglerCommon.cc

    rc20fafd rd8cb7df  
    8585                        const std::string union_t = "U";
    8686                        const std::string enum_t = "M";
     87                        const std::string type = "Y";
    8788
    8889                        const std::string autogen = "autogen__";
Note: See TracChangeset for help on using the changeset viewer.