Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add 'make parsetrace' target for internal profiling/debugging.
  • Loading branch information
pmichaud committed Aug 18, 2010
1 parent 72f5b8b commit e260f09
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/Makefile.in
Expand Up @@ -565,3 +565,11 @@ $(OPS_DIR)/$(OPS)$(LOAD_EXT): $(OPS_DIR)/$(OPS_SOURCE) src/binder/bind.h $(DYNPM
cd $(OPS_DIR) && $(OPS2C) C --dynamic $(OPS_SOURCE)
cd $(OPS_DIR) && $(CC) -c @cc_o_out@$(OPS)$(O) $(CINCLUDES) $(CFLAGS) $(OPS).c
cd $(OPS_DIR) && $(LD) @ld_out@$(OPS)$(LOAD_EXT) $(OPS)$(O) $(LINKARGS)


## This target is temporary for producing a trace/profile of core.pm
## compilation (to improve compiler performance).

parsetrace: $(S1_PERL6_PBC) src/gen/core.pm
$(PARROT) $(PARROT_ARGS) $(S1_PERL6_PBC) --parsetrace --target=pir \
$(STAGESTATS) src/gen/core.pm > $(CORE_PIR) 2>parsetrace.$$$$

0 comments on commit e260f09

Please sign in to comment.