diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-24 16:06:11 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-24 16:06:11 -0800 |
commit | 2833fb1d294ffa18e9c58e8eb2ca1a72670afd87 (patch) | |
tree | c3b28eff6119ba2bce72ab37cbd016a54dd63d5b /tools/autodebugger.py | |
parent | c24e2e41943f1a2968ac686d0d164fb6585d754f (diff) |
debugging tool tweaks
Diffstat (limited to 'tools/autodebugger.py')
-rw-r--r-- | tools/autodebugger.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/autodebugger.py b/tools/autodebugger.py index 3631548c..1823320f 100644 --- a/tools/autodebugger.py +++ b/tools/autodebugger.py @@ -20,6 +20,8 @@ POSTAMBLE = ''' @.emscripten.autodebug.str.f = private constant [11 x i8] c"AD:%d,%lf\\0A\\00", align 1 ; [#uses=1] @.emscripten.autodebug.str.64 = private constant [13 x i8] c"AD:%d,%d,%d\\0A\\00", align 1 ; [#uses=1] +declare i32 @printf(i8*, ...) + ; [#uses=1] define void @emscripten_autodebug_i64(i32 %line, i64 %value) { entry: @@ -91,6 +93,8 @@ POSTAMBLE_NEW = ''' @.emscripten.autodebug.str = private constant [10 x i8] c"AD:%d,%d\\0A\\00", align 1 ; [#uses=1] @.emscripten.autodebug.str.f = private constant [11 x i8] c"AD:%d,%lf\\0A\\00", align 1 ; [#uses=1] +declare i32 @printf(i8*, ...) + ; [#uses=1] define void @emscripten_autodebug_i64(i32 %line, i64 %value) { %1 = sitofp i64 %value to double |