Ignore:
Timestamp:
Jan 12, 2017, 3:28:29 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
aaa1a99a
Parents:
7cc2c8d
Message:

Proper bootloader boilerplate implemented

Location:
src/tests/.expect/32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/32/declarationSpecifier.txt

    r7cc2c8d r13de47bc  
    628628    return ((int )___retval_main__i_1);
    629629}
    630 int main(int argc, char** argv) { return __main__Fi_iPPCc__1(argc, argv); }
    631 
     630extern void *malloc(long unsigned int __size);
     631extern void free(void *__ptr);
     632extern void abort(void);
     633extern int atexit(void (*__func)(void));
     634extern void exit(int __status);
     635extern int printf(const char *__restrict __format, ...);
     636static inline int invoke_main(int argc, char **argv, char **envp);
     637int main(int __argc__i_1, char **__argv__PPc_1, char **__envp__PPc_1){
     638    int ___retval_main__i_1;
     639    int _tmp_cp_ret0;
     640    ((void)(___retval_main__i_1=((_tmp_cp_ret0=invoke_main(__argc__i_1, __argv__PPc_1, __envp__PPc_1)) , _tmp_cp_ret0)) /* ?{} */);
     641    ((void)(_tmp_cp_ret0) /* ^?{} */);
     642    return ((int )___retval_main__i_1);
     643}
  • src/tests/.expect/32/gccExtensions.txt

    r7cc2c8d r13de47bc  
    165165    return ((int )___retval_main__i_1);
    166166}
    167 int main(int argc, char** argv) { return __main__Fi_iPPCc__1(argc, argv); }
     167static inline int invoke_main(int argc, char* argv[], char* envp[]) { return __main__Fi_iPPCc__1(argc, argv); }
     168extern void *malloc(long unsigned int __size);
     169extern void free(void *__ptr);
     170extern void abort(void);
     171extern int atexit(void (*__func)(void));
     172extern void exit(int __status);
     173extern int printf(const char *__restrict __format, ...);
     174static inline int invoke_main(int argc, char **argv, char **envp);
     175int main(int __argc__i_1, char **__argv__PPc_1, char **__envp__PPc_1){
     176    int ___retval_main__i_1;
     177    int _tmp_cp_ret0;
     178    ((void)(___retval_main__i_1=((_tmp_cp_ret0=invoke_main(__argc__i_1, __argv__PPc_1, __envp__PPc_1)) , _tmp_cp_ret0)) /* ?{} */);
     179    ((void)(_tmp_cp_ret0) /* ^?{} */);
     180    return ((int )___retval_main__i_1);
     181}
Note: See TracChangeset for help on using the changeset viewer.