#!/usr/bin/tclsh
#
# Parse the output of
#
# objdump -d sqlite3.o
#
# for x64 and generate a report showing:
#
# (1) Stack used by each function
# (2) Recursion paths and their aggregate stack depth
#
set getStack 0
while
puts "****************** Stack Usage By Function ********************"
set sdlist
foreach f
foreach sd
puts "****************** Stack Usage By Recursion *******************"
foreach key
set pathlist
foreach f
foreach path