From 120a740871dce0fbdc6d1dda09075540ebd8e683 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 1 Jul 2019 22:46:07 -0700 Subject: some primitives for emitting traces Kinda hacky, but might scale enough for machine code. This was really hard to debug. Single tests passed, but when I ran all tests I got breakage because tests long before (from the 056trace layer) were not cleaning up properly. My instinct was to call clear-stream on Trace-stream, which was wrong (the trace didn't have the wrong contents, it was literally a bad object). It was also wrong in a counter-productive way: calling clear-stream on a real Trace stream (which is the size of a page of memory) takes a long time in emulated mode. --- subx/apps/crenshaw2-1 | Bin 23217 -> 23301 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'subx/apps/crenshaw2-1') diff --git a/subx/apps/crenshaw2-1 b/subx/apps/crenshaw2-1 index 48703de1..7caeb9af 100755 Binary files a/subx/apps/crenshaw2-1 and b/subx/apps/crenshaw2-1 differ -- cgit 1.4.1-2-gfad0