diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-09-29 23:49:17 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-09-29 23:49:17 +0200 |
| commit | 9cc0a7f4ab4b0584bf06a4713563d96e4a3a9a72 (patch) | |
| tree | cb03fcc51cdf4442f1a5cce5fa6e18f978bb1617 /src/Makefile | |
| parent | 3f173d0b6c85ce5fffdcbe3da3b01eef8192033e (diff) | |
| download | allocbench-9cc0a7f4ab4b0584bf06a4713563d96e4a3a9a72.tar.gz allocbench-9cc0a7f4ab4b0584bf06a4713563d96e4a3a9a72.zip | |
catch SIGSEGV as well; register sa_handlers only if its SIG_DLF before
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index b0584b1..79d9f8c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -13,7 +13,7 @@ LDFLAGS ?= -pthread -static-libgcc MEMSIZE_KB=$(shell free -t | tail -1 | tr -s ' ' | cut -d ' ' -f 2) MEMSIZE=$(shell echo $(MEMSIZE_KB)"* 1024" | bc) -TOOLS = print_status_on_exit.so exec abort_handler.so +TOOLS = print_status_on_exit.so exec sig_handlers.so ALLOCS = chattymalloc.so bumpptr_alloc.so speedymalloc.so TARGETS = $(addprefix $(OBJDIR)/allocators/,$(ALLOCS)) $(addprefix $(OBJDIR)/,$(TOOLS)) @@ -37,7 +37,7 @@ $(OBJDIR)/print_status_on_exit.so: print_status_on_exit.c Makefile @if test \( ! \( -d $(@D) \) \) ;then mkdir -p $(@D);fi $(CC) $(LDFLAGS) -shared $(CFLAGS) -o $@ $< -$(OBJDIR)/abort_handler.so: abort_handler.c Makefile +$(OBJDIR)/sig_handlers.so: sig_handlers.c Makefile @if test \( ! \( -d $(@D) \) \) ;then mkdir -p $(@D);fi $(CC) $(LDFLAGS) -shared $(CFLAGS) -o $@ $< |
