Fixing test-memory after sexp.c refactoring and improved stack traces.

This commit is contained in:
Alex Shinn 2013-06-17 06:45:27 +09:00
parent 3cecf4e400
commit 9c56a53797
3 changed files with 12 additions and 1 deletions

View file

@ -80,6 +80,9 @@ include/chibi/install.h: Makefile
%.o: %.c $(BASE_INCLUDES) %.o: %.c $(BASE_INCLUDES)
$(CC) -c $(XCPPFLAGS) $(XCFLAGS) $(CLIBFLAGS) -o $@ $< $(CC) -c $(XCPPFLAGS) $(XCFLAGS) $(CLIBFLAGS) -o $@ $<
gc-ulimit.o: gc.c $(BASE_INCLUDES)
$(CC) -c $(XCPPFLAGS) $(XCFLAGS) $(CLIBFLAGS) -DSEXP_USE_LIMITED_MALLOC -o $@ $<
sexp-ulimit.o: sexp.c $(BASE_INCLUDES) sexp-ulimit.o: sexp.c $(BASE_INCLUDES)
$(CC) -c $(XCPPFLAGS) $(XCFLAGS) $(CLIBFLAGS) -DSEXP_USE_LIMITED_MALLOC -o $@ $< $(CC) -c $(XCPPFLAGS) $(XCFLAGS) $(CLIBFLAGS) -DSEXP_USE_LIMITED_MALLOC -o $@ $<
@ -87,7 +90,7 @@ main.o: main.c $(INCLUDES)
$(CC) -c $(XCPPFLAGS) $(XCFLAGS) -o $@ $< $(CC) -c $(XCPPFLAGS) $(XCFLAGS) -o $@ $<
SEXP_OBJS = gc.o sexp.o bignum.o SEXP_OBJS = gc.o sexp.o bignum.o
SEXP_ULIMIT_OBJS = gc.o sexp-ulimit.o bignum.o SEXP_ULIMIT_OBJS = gc-ulimit.o sexp-ulimit.o bignum.o
EVAL_OBJS = opcodes.o vm.o eval.o simplify.o EVAL_OBJS = opcodes.o vm.o eval.o simplify.o
libchibi-sexp$(SO): $(SEXP_OBJS) libchibi-sexp$(SO): $(SEXP_OBJS)

View file

@ -1 +1,5 @@
ERROR: out of memory ERROR: out of memory
called from <anonymous> on line 513 of file ./lib/init-7.scm
called from <anonymous> on line 15 of file tests/memory/test00-read-string.scm
called from <anonymous> on line 1000 of file ./lib/init-7.scm
called from <anonymous> on line 526 of file ./lib/init-7.scm

View file

@ -1 +1,5 @@
ERROR: out of memory ERROR: out of memory
called from <anonymous> on line 513 of file ./lib/init-7.scm
called from <anonymous> on line 11 of file tests/memory/test01-read-symbol.scm
called from <anonymous> on line 1000 of file ./lib/init-7.scm
called from <anonymous> on line 526 of file ./lib/init-7.scm