Break prof_accum into multiple compilation units.

Break prof_accum into multiple compilation units, in order to thwart
compiler optimizations such as inlining and tail call optimization that
would alter backtraces.
This commit is contained in:
Jason Evans
2014-02-24 22:00:10 -08:00
parent 99b0fbbe69
commit ad47e8996e
5 changed files with 48 additions and 40 deletions

3
test/unit/prof_accum_b.c Normal file
View File

@@ -0,0 +1,3 @@
#include "prof_accum.h"
alloc_n_gen(1)