From 02a2180a6a7f819add2e53053ccabfd80a59718d Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 21 Nov 2016 12:07:17 +0100 Subject: first version of the new memory tracking feature --- lib/system/excpt.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/system/excpt.nim') diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index dcf41b67d..d00ab64b1 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -339,6 +339,8 @@ when not defined(noSignalHandler): action("unknown signal\n") # print stack trace and quit + when defined(memtracker): + logPendingOps() when hasSomeStackTrace: GC_disable() var buf = newStringOfCap(2000) -- cgit 1.4.1-2-gfad0 his.form.submit();'> This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log blame commit diff stats
path: root/compiler/semtypinst.nim
blob: 26341525cb4f47f1d18612560f755d3d792fb46c (plain) (tree)
1
2
3
4
5
6
7
8
9