diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..c81e5c8747 --- /dev/null +++ b/.gitignore @@ -0,0 +1,64 @@ +/*.patch +/*.tmp +/*.vcproj* +/*.sln +/*.ncb +/*.suo +/*.sto +/CFLAGS +/MANIFEST.configure.generated +/Makefile +/TAGS +/all_cstring.str +/blib +/config_lib.pasm +/install_config.fpmc +/libparrot.def +/libparrot.dll +/miniparrot +/myconfig +/parrot +/parrot_config +/parrot_config.c +/parrot_config.pbc +/parrot.ilk +/parrot.pdb +/parrot.pc +/parrot_test_run.tar.gz +/pbc_disassemble +/pbc_info +/pbc_merge +/pbc_dump +/tags +/temp.file +/test +/test.c +/test.cco +/test.err +/test.ilk +/test.ldo +/test.out +/test.pdb +/vc60.pdb +/vc70.pdb +/vtable.dump +/installable* +/*.exe +/*.core +/*.pdb +/*.ilk +/*.def +/*.lib +/*.obj +/*.o +/*.exp +/*.manifest +/parrot.iss +/cover_db +/pbc_to_exe +/pbc_to_exe.* +/perl6 +/.parrot_current_rev +/.git +/parrot_debugger +/pirc diff --git a/compilers/data_json/.gitignore b/compilers/data_json/.gitignore new file mode 100644 index 0000000000..11bef43f83 --- /dev/null +++ b/compilers/data_json/.gitignore @@ -0,0 +1,2 @@ +/Makefile +/data_json.pbc diff --git a/compilers/data_json/data_json/.gitignore b/compilers/data_json/data_json/.gitignore new file mode 100644 index 0000000000..4a53c6663e --- /dev/null +++ b/compilers/data_json/data_json/.gitignore @@ -0,0 +1,2 @@ +/*.pir +/*.pbc diff --git a/compilers/imcc/.gitignore b/compilers/imcc/.gitignore new file mode 100644 index 0000000000..b383778e8e --- /dev/null +++ b/compilers/imcc/.gitignore @@ -0,0 +1,11 @@ +/*.flag +/*.o +/*.tmp +/imcc +/imclexer.c +/imcparser.c +/imcparser.h +/imcparser.output +/Makefile +/CFLAGS +/*.obj diff --git a/compilers/json/.gitignore b/compilers/json/.gitignore new file mode 100644 index 0000000000..f291869a76 --- /dev/null +++ b/compilers/json/.gitignore @@ -0,0 +1,2 @@ +/Makefile +/JSON.pbc diff --git a/compilers/json/JSON/.gitignore b/compilers/json/JSON/.gitignore new file mode 100644 index 0000000000..452d8bfd4a --- /dev/null +++ b/compilers/json/JSON/.gitignore @@ -0,0 +1,2 @@ +/*.pbc +/*.pir diff --git a/compilers/ncigen/.gitignore b/compilers/ncigen/.gitignore new file mode 100644 index 0000000000..f48c96435d --- /dev/null +++ b/compilers/ncigen/.gitignore @@ -0,0 +1,2 @@ +/Makefile +/ncigen.pbc diff --git a/compilers/ncigen/src/.gitignore b/compilers/ncigen/src/.gitignore new file mode 100644 index 0000000000..c2cf0c956e --- /dev/null +++ b/compilers/ncigen/src/.gitignore @@ -0,0 +1,3 @@ +/gen_actions.pir +/gen_grammar.pir +/gen_builtins.pir diff --git a/compilers/nqp/.gitignore b/compilers/nqp/.gitignore new file mode 100644 index 0000000000..a0582f8ee8 --- /dev/null +++ b/compilers/nqp/.gitignore @@ -0,0 +1,2 @@ +/Makefile +/nqp.pbc diff --git a/compilers/nqp/bootstrap/.gitignore b/compilers/nqp/bootstrap/.gitignore new file mode 100644 index 0000000000..cebd636f6f --- /dev/null +++ b/compilers/nqp/bootstrap/.gitignore @@ -0,0 +1,2 @@ +/nqp.pbc +/gen_actions.pir diff --git a/compilers/nqp/src/.gitignore b/compilers/nqp/src/.gitignore new file mode 100644 index 0000000000..f19c7f11c2 --- /dev/null +++ b/compilers/nqp/src/.gitignore @@ -0,0 +1 @@ +/Grammar_gen.pir diff --git a/compilers/pct/.gitignore b/compilers/pct/.gitignore new file mode 100644 index 0000000000..36d47fa321 --- /dev/null +++ b/compilers/pct/.gitignore @@ -0,0 +1,2 @@ +/Makefile +/*.pbc diff --git a/compilers/pct/src/POST/.gitignore b/compilers/pct/src/POST/.gitignore new file mode 100644 index 0000000000..f19c7f11c2 --- /dev/null +++ b/compilers/pct/src/POST/.gitignore @@ -0,0 +1 @@ +/Grammar_gen.pir diff --git a/compilers/pge/.gitignore b/compilers/pge/.gitignore new file mode 100644 index 0000000000..b3dc6b4502 --- /dev/null +++ b/compilers/pge/.gitignore @@ -0,0 +1,4 @@ +/*.dylib +/*.so +/Makefile +/PGE.pbc diff --git a/compilers/pge/PGE/.gitignore b/compilers/pge/PGE/.gitignore new file mode 100644 index 0000000000..fd6604b579 --- /dev/null +++ b/compilers/pge/PGE/.gitignore @@ -0,0 +1,2 @@ +/builtins_gen.pir +/*.dll diff --git a/compilers/pirc/.gitignore b/compilers/pirc/.gitignore new file mode 100644 index 0000000000..ecfa2ac1ed --- /dev/null +++ b/compilers/pirc/.gitignore @@ -0,0 +1,6 @@ +/Makefile +/pirc +/pirc.exe +/*.o +/*.obj +/*.pbd diff --git a/compilers/pirc/t/.gitignore b/compilers/pirc/t/.gitignore new file mode 100644 index 0000000000..1ccbdd9cc2 --- /dev/null +++ b/compilers/pirc/t/.gitignore @@ -0,0 +1,6 @@ +/subflags_?.pir +/heredoc_?.pir +/stmts_?.pir +/basic_?.pir +/basic_??.pir +/macro_?.pir diff --git a/compilers/tge/.gitignore b/compilers/tge/.gitignore new file mode 100644 index 0000000000..5fc607b9e2 --- /dev/null +++ b/compilers/tge/.gitignore @@ -0,0 +1 @@ +/Makefile diff --git a/compilers/tge/TGE/.gitignore b/compilers/tge/TGE/.gitignore new file mode 100644 index 0000000000..075489b5b3 --- /dev/null +++ b/compilers/tge/TGE/.gitignore @@ -0,0 +1 @@ +/Parser.pir diff --git a/config/gen/call_list/.gitignore b/config/gen/call_list/.gitignore new file mode 100644 index 0000000000..3216090ad5 --- /dev/null +++ b/config/gen/call_list/.gitignore @@ -0,0 +1 @@ +/opengl.in diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 0000000000..f2f80be7e3 --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1,5 @@ +/*.tmp +/html +/Makefile +/packfile-c.pod +/packfile-perl.pod diff --git a/docs/book/.gitignore b/docs/book/.gitignore new file mode 100644 index 0000000000..9b61c8c042 --- /dev/null +++ b/docs/book/.gitignore @@ -0,0 +1 @@ +/*.html diff --git a/docs/ops/.gitignore b/docs/ops/.gitignore new file mode 100644 index 0000000000..2047172691 --- /dev/null +++ b/docs/ops/.gitignore @@ -0,0 +1 @@ +/*.pod diff --git a/editor/.gitignore b/editor/.gitignore new file mode 100644 index 0000000000..b4b7a6cbfc --- /dev/null +++ b/editor/.gitignore @@ -0,0 +1,4 @@ +/Makefile +/imc.vim +/imcc.xml +/pir.vim diff --git a/examples/languages/abc/.gitignore b/examples/languages/abc/.gitignore new file mode 100644 index 0000000000..bbc87e43c8 --- /dev/null +++ b/examples/languages/abc/.gitignore @@ -0,0 +1,10 @@ +/Makefile +/*.pbc +/*.c +/*.o +/*.obj +/*.exe +/*.iss +/abc +/installable_abc +/man diff --git a/examples/languages/abc/src/.gitignore b/examples/languages/abc/src/.gitignore new file mode 100644 index 0000000000..c2cf0c956e --- /dev/null +++ b/examples/languages/abc/src/.gitignore @@ -0,0 +1,3 @@ +/gen_actions.pir +/gen_grammar.pir +/gen_builtins.pir diff --git a/examples/languages/abc/t/.gitignore b/examples/languages/abc/t/.gitignore new file mode 100644 index 0000000000..b04cd03c81 --- /dev/null +++ b/examples/languages/abc/t/.gitignore @@ -0,0 +1,2 @@ +/*_*.pir +/*_*.out diff --git a/examples/languages/squaak/.gitignore b/examples/languages/squaak/.gitignore new file mode 100644 index 0000000000..4cc5325a8b --- /dev/null +++ b/examples/languages/squaak/.gitignore @@ -0,0 +1,10 @@ +/Makefile +/*.pbc +/*.c +/*.o +/*.obj +/*.exe +/*.iss +/squaak +/installable_squaak +/man diff --git a/examples/languages/squaak/src/.gitignore b/examples/languages/squaak/src/.gitignore new file mode 100644 index 0000000000..b4ce541a8f --- /dev/null +++ b/examples/languages/squaak/src/.gitignore @@ -0,0 +1 @@ +/gen_*.pir diff --git a/examples/mops/.gitignore b/examples/mops/.gitignore new file mode 100644 index 0000000000..b1586ea3c4 --- /dev/null +++ b/examples/mops/.gitignore @@ -0,0 +1,2 @@ +/*.o +/mops diff --git a/examples/nci/.gitignore b/examples/nci/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/examples/nci/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/examples/pasm/.gitignore b/examples/pasm/.gitignore new file mode 100644 index 0000000000..b99064f916 --- /dev/null +++ b/examples/pasm/.gitignore @@ -0,0 +1,3 @@ +/hello +/hello.o +/hello.pbc diff --git a/examples/pir/befunge/.gitignore b/examples/pir/befunge/.gitignore new file mode 100644 index 0000000000..8cd5959a49 --- /dev/null +++ b/examples/pir/befunge/.gitignore @@ -0,0 +1,9 @@ +/Makefile +/*.pbc +/*.c +/*.o +/*.obj +/*.exe +/*.iss +/befunge +/installable_befunge diff --git a/ext/.gitignore b/ext/.gitignore new file mode 100644 index 0000000000..5fc607b9e2 --- /dev/null +++ b/ext/.gitignore @@ -0,0 +1 @@ +/Makefile diff --git a/ext/Parrot-Embed/.gitignore b/ext/Parrot-Embed/.gitignore new file mode 100644 index 0000000000..36c477406f --- /dev/null +++ b/ext/Parrot-Embed/.gitignore @@ -0,0 +1,29 @@ +/*.tmp +/*.pdb +/_build +/blib +/Build +/Build.bat +/Makefile +/Makefile.PL +/*.bundle +/*.c +/*.dump +/*.dylib +/*.h +/*.so +/*.o +/*.exe +/*.pdb +/*.ilk +/*.def +/*.lib +/*.obj +/*.exp +/*.dll +/*.manifest +/*.bs +/*.old +/*.xs +/pm_to_blib +/dll.base diff --git a/ext/Parrot-Embed/lib/Parrot/.gitignore b/ext/Parrot-Embed/lib/Parrot/.gitignore new file mode 100644 index 0000000000..bdfd83aa97 --- /dev/null +++ b/ext/Parrot-Embed/lib/Parrot/.gitignore @@ -0,0 +1,2 @@ +/*.obj +/*.c diff --git a/ext/Parrot-Embed/t/.gitignore b/ext/Parrot-Embed/t/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/ext/Parrot-Embed/t/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/include/parrot/.gitignore b/include/parrot/.gitignore new file mode 100644 index 0000000000..311335bf20 --- /dev/null +++ b/include/parrot/.gitignore @@ -0,0 +1,11 @@ +/*.tmp +/config.h +/core_pmcs.h +/extend_vtable.h +/feature.h +/has_header.h +/platform.h +/platform_interface.h +/vtable.h +/pbcversion.h +/platform_limits.h diff --git a/include/parrot/oplib/.gitignore b/include/parrot/oplib/.gitignore new file mode 100644 index 0000000000..dfd721fd88 --- /dev/null +++ b/include/parrot/oplib/.gitignore @@ -0,0 +1,4 @@ +/*_ops.h +/*_ops_switch.h +/*_ops_cg*.h +/ops.h diff --git a/include/parrot/sub.h b/include/parrot/sub.h index 9c8ecf580a..27e862a385 100644 --- a/include/parrot/sub.h +++ b/include/parrot/sub.h @@ -248,6 +248,21 @@ PMC* Parrot_find_pad(PARROT_INTERP, __attribute__nonnull__(2) __attribute__nonnull__(3); +PARROT_CANNOT_RETURN_NULL +STRING * Parrot_Sub_get_filename_from_pc(PARROT_INTERP, + ARGIN(PMC *sub), + ARGIN(opcode_t *pc)) + __attribute__nonnull__(1) + __attribute__nonnull__(2) + __attribute__nonnull__(3); + +INTVAL Parrot_Sub_get_line_from_pc(PARROT_INTERP, + ARGIN(PMC *subpmc), + ARGIN(opcode_t *pc)) + __attribute__nonnull__(1) + __attribute__nonnull__(2) + __attribute__nonnull__(3); + #define ASSERT_ARGS_new_ret_continuation_pmc __attribute__unused__ int _ASSERT_ARGS_CHECK = \ PARROT_ASSERT_ARG(interp) #define ASSERT_ARGS_Parrot_Context_get_info __attribute__unused__ int _ASSERT_ARGS_CHECK = \ @@ -288,6 +303,15 @@ PMC* Parrot_find_pad(PARROT_INTERP, PARROT_ASSERT_ARG(interp) \ || PARROT_ASSERT_ARG(lex_name) \ || PARROT_ASSERT_ARG(ctx) +#define ASSERT_ARGS_Parrot_Sub_get_filename_from_pc \ + __attribute__unused__ int _ASSERT_ARGS_CHECK = \ + PARROT_ASSERT_ARG(interp) \ + || PARROT_ASSERT_ARG(sub) \ + || PARROT_ASSERT_ARG(pc) +#define ASSERT_ARGS_Parrot_Sub_get_line_from_pc __attribute__unused__ int _ASSERT_ARGS_CHECK = \ + PARROT_ASSERT_ARG(interp) \ + || PARROT_ASSERT_ARG(subpmc) \ + || PARROT_ASSERT_ARG(pc) /* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */ /* HEADERIZER END: src/sub.c */ diff --git a/lib/.gitignore b/lib/.gitignore new file mode 100644 index 0000000000..6d739818e9 --- /dev/null +++ b/lib/.gitignore @@ -0,0 +1 @@ +/DumbLink.pm diff --git a/lib/Parrot/.gitignore b/lib/Parrot/.gitignore new file mode 100644 index 0000000000..9042136969 --- /dev/null +++ b/lib/Parrot/.gitignore @@ -0,0 +1,9 @@ +/PMC.pm +/Jit.pm +/blib +/pm_to_blib +/PakFile2.c +/PakFile2.bs +/Makefile +/*.tmp +/OpLib diff --git a/lib/Parrot/Config/.gitignore b/lib/Parrot/Config/.gitignore new file mode 100644 index 0000000000..3f65fadd17 --- /dev/null +++ b/lib/Parrot/Config/.gitignore @@ -0,0 +1 @@ +/Generated.pm diff --git a/lib/Parrot/Pmc2c/.gitignore b/lib/Parrot/Pmc2c/.gitignore new file mode 100644 index 0000000000..ba4df89bc4 --- /dev/null +++ b/lib/Parrot/Pmc2c/.gitignore @@ -0,0 +1 @@ +/PCCMETHOD_BITS.pm diff --git a/ports/debian/.gitignore b/ports/debian/.gitignore new file mode 100644 index 0000000000..b498fd495d --- /dev/null +++ b/ports/debian/.gitignore @@ -0,0 +1 @@ +/ diff --git a/runtime/parrot/dynext/.gitignore b/runtime/parrot/dynext/.gitignore new file mode 100644 index 0000000000..4dd3948ac9 --- /dev/null +++ b/runtime/parrot/dynext/.gitignore @@ -0,0 +1,13 @@ +/*.dylib +/libnci.* +/*.bundle +/*.so +/*.exe +/*.pdb +/*.ilk +/*.def +/*.lib +/*.obj +/*.exp +/*.dll +/*.manifest diff --git a/runtime/parrot/include/.gitignore b/runtime/parrot/include/.gitignore new file mode 100644 index 0000000000..52ccdcb557 --- /dev/null +++ b/runtime/parrot/include/.gitignore @@ -0,0 +1,3 @@ +/*.pasm +/*.pbc +/*.fpmc diff --git a/runtime/parrot/library/.gitignore b/runtime/parrot/library/.gitignore new file mode 100644 index 0000000000..bcac2ece91 --- /dev/null +++ b/runtime/parrot/library/.gitignore @@ -0,0 +1,4 @@ +/PAST +/*.pbc +/config.pir +/OpenGL_funcs.pir diff --git a/runtime/parrot/library/CGI/.gitignore b/runtime/parrot/library/CGI/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/CGI/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Config/.gitignore b/runtime/parrot/library/Config/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Config/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Data/.gitignore b/runtime/parrot/library/Data/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Data/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Data/Dumper/.gitignore b/runtime/parrot/library/Data/Dumper/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Data/Dumper/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Digest/.gitignore b/runtime/parrot/library/Digest/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Digest/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Getopt/.gitignore b/runtime/parrot/library/Getopt/.gitignore new file mode 100644 index 0000000000..0bd11a64fc --- /dev/null +++ b/runtime/parrot/library/Getopt/.gitignore @@ -0,0 +1 @@ +/Obj.pbc diff --git a/runtime/parrot/library/MIME/.gitignore b/runtime/parrot/library/MIME/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/MIME/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Math/.gitignore b/runtime/parrot/library/Math/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Math/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Math/Random/.gitignore b/runtime/parrot/library/Math/Random/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Math/Random/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/NCI/.gitignore b/runtime/parrot/library/NCI/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/NCI/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/OpenGL/.gitignore b/runtime/parrot/library/OpenGL/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/OpenGL/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/PCT/.gitignore b/runtime/parrot/library/PCT/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/PCT/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/PGE/.gitignore b/runtime/parrot/library/PGE/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/PGE/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Parrot/.gitignore b/runtime/parrot/library/Parrot/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Parrot/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Stream/.gitignore b/runtime/parrot/library/Stream/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Stream/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/String/.gitignore b/runtime/parrot/library/String/.gitignore new file mode 100644 index 0000000000..8cf36fb1ae --- /dev/null +++ b/runtime/parrot/library/String/.gitignore @@ -0,0 +1 @@ +/Utils.pbc diff --git a/runtime/parrot/library/Tcl/.gitignore b/runtime/parrot/library/Tcl/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Tcl/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Test/.gitignore b/runtime/parrot/library/Test/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Test/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/Test/Builder/.gitignore b/runtime/parrot/library/Test/Builder/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/Test/Builder/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/YAML/.gitignore b/runtime/parrot/library/YAML/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/YAML/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/YAML/Dumper/.gitignore b/runtime/parrot/library/YAML/Dumper/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/YAML/Dumper/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/runtime/parrot/library/YAML/Parser/.gitignore b/runtime/parrot/library/YAML/Parser/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/runtime/parrot/library/YAML/Parser/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/src/.gitignore b/src/.gitignore new file mode 100644 index 0000000000..0ef5dbfaf0 --- /dev/null +++ b/src/.gitignore @@ -0,0 +1,23 @@ +/*.o +/*.obj +/*.str +/asmfun.* +/core_pmcs.c +/exec_cpu.c +/exec_dep.c +/exec_dep.h +/extend_vtable.c +/fingerprint.c +/glut_callbacks.c +/install_config.c +/jit_cpu.c +/jit_defs.c +/jit_emit.h +/nci.c +/null_config.c +/platform.c +/platform_asm.s +/parrot_config.c +/parrot_config.h +/revision.c +/call_list.txt diff --git a/src/atomic/.gitignore b/src/atomic/.gitignore new file mode 100644 index 0000000000..7c4d50dfb8 --- /dev/null +++ b/src/atomic/.gitignore @@ -0,0 +1,2 @@ +/*.gcda +/*.o diff --git a/src/call/.gitignore b/src/call/.gitignore new file mode 100644 index 0000000000..e70efbc6d2 --- /dev/null +++ b/src/call/.gitignore @@ -0,0 +1,2 @@ +/*.str +/*.obj diff --git a/src/dynoplibs/.gitignore b/src/dynoplibs/.gitignore new file mode 100644 index 0000000000..1ec2dc10e7 --- /dev/null +++ b/src/dynoplibs/.gitignore @@ -0,0 +1,13 @@ +/Makefile +/*.c +/*.h +/*.so +/*.bundle +/*.o +/*.obj +/*.dll +/*.pdb +/*.ilk +/*.lib +/*.exp +/*.manifest diff --git a/src/dynpmc/.gitignore b/src/dynpmc/.gitignore new file mode 100644 index 0000000000..3378c8d089 --- /dev/null +++ b/src/dynpmc/.gitignore @@ -0,0 +1,25 @@ +/*.bundle +/*.c +/*.dump +/*.dylib +/*.h +/*.so +/Makefile +/*.o +/*.exe +/*.pdb +/*.ilk +/*.def +/*.lib +/*.obj +/*.exp +/*.dll +/*.manifest +/md2.pmc +/md4.pmc +/md5.pmc +/ripemd160.pmc +/sha.pmc +/sha1.pmc +/sha256.pmc +/sha512.pmc diff --git a/src/gc/.gitignore b/src/gc/.gitignore new file mode 100644 index 0000000000..7727eef603 --- /dev/null +++ b/src/gc/.gitignore @@ -0,0 +1,17 @@ +/*.bundle +/*.c +/*.dump +/*.dylib +/*.h +/*.so +/Makefile +/*.o +/*.exe +/*.pdb +/*.ilk +/*.def +/*.lib +/*.obj +/*.exp +/*.dll +/*.manifest diff --git a/src/interp/.gitignore b/src/interp/.gitignore new file mode 100644 index 0000000000..cfdd76cce5 --- /dev/null +++ b/src/interp/.gitignore @@ -0,0 +1 @@ +/*.str diff --git a/src/io/.gitignore b/src/io/.gitignore new file mode 100644 index 0000000000..fbfc2cd040 --- /dev/null +++ b/src/io/.gitignore @@ -0,0 +1,3 @@ +/*.o +/*.obj +/*.str diff --git a/src/ops/.gitignore b/src/ops/.gitignore new file mode 100644 index 0000000000..e69f2c556c --- /dev/null +++ b/src/ops/.gitignore @@ -0,0 +1,3 @@ +/*.c +/*.o +/*.obj diff --git a/src/packfile/.gitignore b/src/packfile/.gitignore new file mode 100644 index 0000000000..3539e29468 --- /dev/null +++ b/src/packfile/.gitignore @@ -0,0 +1,2 @@ +/*.o +/*.obj diff --git a/src/pmc/.gitignore b/src/pmc/.gitignore new file mode 100644 index 0000000000..e9c8f3c7ad --- /dev/null +++ b/src/pmc/.gitignore @@ -0,0 +1,8 @@ +/Makefile +/*.c +/*.h +/*.o +/*.tmp +/*.dump +/*.str +/*.obj diff --git a/src/string/.gitignore b/src/string/.gitignore new file mode 100644 index 0000000000..c7bae97169 --- /dev/null +++ b/src/string/.gitignore @@ -0,0 +1,4 @@ +/private_cstring.h +/*.o +/*.obj +/*.str diff --git a/src/string/charset/.gitignore b/src/string/charset/.gitignore new file mode 100644 index 0000000000..3539e29468 --- /dev/null +++ b/src/string/charset/.gitignore @@ -0,0 +1,2 @@ +/*.o +/*.obj diff --git a/src/string/encoding/.gitignore b/src/string/encoding/.gitignore new file mode 100644 index 0000000000..3539e29468 --- /dev/null +++ b/src/string/encoding/.gitignore @@ -0,0 +1,2 @@ +/*.o +/*.obj diff --git a/src/sub.c b/src/sub.c index 2e2c8e5930..ebd955795b 100644 --- a/src/sub.c +++ b/src/sub.c @@ -268,6 +268,60 @@ Parrot_Context_get_info(PARROT_INTERP, ARGIN(PMC *ctx), return 1; } + +/* + +=item C + +Given a PMC sub and the current opcode, returns the corresponding PIR line +number. + +=cut + +*/ + +INTVAL +Parrot_Sub_get_line_from_pc(PARROT_INTERP, ARGIN(PMC *subpmc), ARGIN(opcode_t *pc)) +{ + Parrot_Sub_attributes *sub; + int position; + + PMC_get_sub(interp, subpmc, sub); + position = pc - sub->seg->base.data; + + return (INTVAL)(sub->seg->debugs->base.data[position]); +} + + +/* + +=item C + +Given a PMC sub and the current opcode, returns the corresponding PIR file +name. + +=cut + +*/ + +PARROT_CANNOT_RETURN_NULL +STRING * +Parrot_Sub_get_filename_from_pc(PARROT_INTERP, ARGIN(PMC *subpmc), ARGIN(opcode_t *pc)) +{ + Parrot_Sub_attributes *sub; + PackFile_Debug *debug; + int position; + + PMC_get_sub(interp, subpmc, sub); + + debug = sub->seg->debugs; + position = pc - sub->seg->base.data; + + return Parrot_debug_pc_to_filename(interp, debug, position); +} + /* =item C diff --git a/t/benchmark/.gitignore b/t/benchmark/.gitignore new file mode 100644 index 0000000000..1b070dd420 --- /dev/null +++ b/t/benchmark/.gitignore @@ -0,0 +1,2 @@ +/*.pasm +/*.pir diff --git a/t/compilers/imcc/.gitignore b/t/compilers/imcc/.gitignore new file mode 100644 index 0000000000..f352d38674 --- /dev/null +++ b/t/compilers/imcc/.gitignore @@ -0,0 +1 @@ +/*.pbc diff --git a/t/compilers/imcc/imcpasm/.gitignore b/t/compilers/imcc/imcpasm/.gitignore new file mode 100644 index 0000000000..063eb81f19 --- /dev/null +++ b/t/compilers/imcc/imcpasm/.gitignore @@ -0,0 +1,4 @@ +/*_pbcexe +/*.pbc +/*.pir +/*.pasm diff --git a/t/compilers/imcc/reg/.gitignore b/t/compilers/imcc/reg/.gitignore new file mode 100644 index 0000000000..e6772c7a41 --- /dev/null +++ b/t/compilers/imcc/reg/.gitignore @@ -0,0 +1,4 @@ +/*_pbcexe* +/*.pbc +/*.pir +/*.pasm diff --git a/t/compilers/imcc/syn/.gitignore b/t/compilers/imcc/syn/.gitignore new file mode 100644 index 0000000000..6f201ed1fb --- /dev/null +++ b/t/compilers/imcc/syn/.gitignore @@ -0,0 +1,4 @@ +/*_pbcexe* +/*.pasm +/*.pbc +/*.pir diff --git a/t/compilers/json/.gitignore b/t/compilers/json/.gitignore new file mode 100644 index 0000000000..84c2d30f30 --- /dev/null +++ b/t/compilers/json/.gitignore @@ -0,0 +1,3 @@ +/*_pbcexe +/*.pbc +/*.pir diff --git a/t/compilers/pct/.gitignore b/t/compilers/pct/.gitignore new file mode 100644 index 0000000000..452d8bfd4a --- /dev/null +++ b/t/compilers/pct/.gitignore @@ -0,0 +1,2 @@ +/*.pbc +/*.pir diff --git a/t/compilers/pge/.gitignore b/t/compilers/pge/.gitignore new file mode 100644 index 0000000000..8d94c84e64 --- /dev/null +++ b/t/compilers/pge/.gitignore @@ -0,0 +1,4 @@ +/*_pbcexe +/*.pasm +/*.pbc +/*.pir diff --git a/t/compilers/pge/p5regex/.gitignore b/t/compilers/pge/p5regex/.gitignore new file mode 100644 index 0000000000..aa52377d4f --- /dev/null +++ b/t/compilers/pge/p5regex/.gitignore @@ -0,0 +1 @@ +/*.pir diff --git a/t/compilers/pge/perl6regex/.gitignore b/t/compilers/pge/perl6regex/.gitignore new file mode 100644 index 0000000000..452d8bfd4a --- /dev/null +++ b/t/compilers/pge/perl6regex/.gitignore @@ -0,0 +1,2 @@ +/*.pbc +/*.pir diff --git a/t/compilers/tge/.gitignore b/t/compilers/tge/.gitignore new file mode 100644 index 0000000000..bc7ec1de71 --- /dev/null +++ b/t/compilers/tge/.gitignore @@ -0,0 +1,3 @@ +/*_pbcexe +/*.pir +/*.pbc diff --git a/t/dynoplibs/.gitignore b/t/dynoplibs/.gitignore new file mode 100644 index 0000000000..2c9695d976 --- /dev/null +++ b/t/dynoplibs/.gitignore @@ -0,0 +1,3 @@ +/*.pasm +/*.pbc +/*.pir diff --git a/t/dynpmc/.gitignore b/t/dynpmc/.gitignore new file mode 100644 index 0000000000..4d519fabb3 --- /dev/null +++ b/t/dynpmc/.gitignore @@ -0,0 +1,12 @@ +/*.pasm +/*_pbcexe* +/*.pbc +/*.pir +/md2.t +/md4.t +/md5.t +/ripemd160.t +/sha1.t +/sha256.t +/sha512.t +/sha.t diff --git a/t/examples/.gitignore b/t/examples/.gitignore new file mode 100644 index 0000000000..6f201ed1fb --- /dev/null +++ b/t/examples/.gitignore @@ -0,0 +1,4 @@ +/*_pbcexe* +/*.pasm +/*.pbc +/*.pir diff --git a/t/library/.gitignore b/t/library/.gitignore new file mode 100644 index 0000000000..d3443929f7 --- /dev/null +++ b/t/library/.gitignore @@ -0,0 +1,5 @@ +/*_pbcexe* +/*.out +/*.pasm +/*.pbc +/*.pir diff --git a/t/native_pbc/.gitignore b/t/native_pbc/.gitignore new file mode 100644 index 0000000000..f91a3368f1 --- /dev/null +++ b/t/native_pbc/.gitignore @@ -0,0 +1 @@ +/*_pbcexe* diff --git a/t/oo/.gitignore b/t/oo/.gitignore new file mode 100644 index 0000000000..452d8bfd4a --- /dev/null +++ b/t/oo/.gitignore @@ -0,0 +1,2 @@ +/*.pbc +/*.pir diff --git a/t/op/.gitignore b/t/op/.gitignore new file mode 100644 index 0000000000..d3443929f7 --- /dev/null +++ b/t/op/.gitignore @@ -0,0 +1,5 @@ +/*_pbcexe* +/*.out +/*.pasm +/*.pbc +/*.pir diff --git a/t/perl/.gitignore b/t/perl/.gitignore new file mode 100644 index 0000000000..20dfcb5369 --- /dev/null +++ b/t/perl/.gitignore @@ -0,0 +1,2 @@ +/Parrot_Test_1.pasm +/Parrot_Test_1.pir diff --git a/t/pmc/.gitignore b/t/pmc/.gitignore new file mode 100644 index 0000000000..ccc99182c9 --- /dev/null +++ b/t/pmc/.gitignore @@ -0,0 +1,5 @@ +/*_pbcexe* +/*.pasm +/*.pbc +/*.pir +/*.out diff --git a/t/src/.gitignore b/t/src/.gitignore new file mode 100644 index 0000000000..7e52f3af2d --- /dev/null +++ b/t/src/.gitignore @@ -0,0 +1 @@ +/*_* diff --git a/t/stress/.gitignore b/t/stress/.gitignore new file mode 100644 index 0000000000..ccc99182c9 --- /dev/null +++ b/t/stress/.gitignore @@ -0,0 +1,5 @@ +/*_pbcexe* +/*.pasm +/*.pbc +/*.pir +/*.out diff --git a/t/tools/.gitignore b/t/tools/.gitignore new file mode 100644 index 0000000000..7830bab82f --- /dev/null +++ b/t/tools/.gitignore @@ -0,0 +1,7 @@ +/*.pir +/*.pbc +/pmc2c.*.pmc +/pmc2c.*.dump +/pmc2c.*.h +/pmc2c.*.c +/pdb.t.* diff --git a/tools/build/.gitignore b/tools/build/.gitignore new file mode 100644 index 0000000000..ac2f57b015 --- /dev/null +++ b/tools/build/.gitignore @@ -0,0 +1,2 @@ +/dynpmc.pl +/dynoplibs.pl