aboutsummaryrefslogtreecommitdiffhomepage
path: root/compiler/testdata
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-06-17 16:55:18 +0200
committerRon Evans <[email protected]>2022-06-19 11:51:12 +0200
commit9af535bf98a7cd01db85468c427020969a9b68d1 (patch)
tree06be50d3b1c709700ffd8267339561d25b757175 /compiler/testdata
parent159f0051bbdb5fb48e8c0af7603e154766ec0ee9 (diff)
downloadtinygo-9af535bf98a7cd01db85468c427020969a9b68d1.tar.gz
tinygo-9af535bf98a7cd01db85468c427020969a9b68d1.zip
avr: add support for recover()
You can see that it works with the following command: tinygo run -target=simavr ./testdata/recover.go This also gets the following tests to pass again: go test -run=Build -target=simavr -v Adding support for AVR was a bit more compliated because it's also necessary to save and restore the Y register.
Diffstat (limited to 'compiler/testdata')
-rw-r--r--compiler/testdata/defer-cortex-m-qemu.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/testdata/defer-cortex-m-qemu.ll b/compiler/testdata/defer-cortex-m-qemu.ll
index 9c6ddab3d..f604f3779 100644
--- a/compiler/testdata/defer-cortex-m-qemu.ll
+++ b/compiler/testdata/defer-cortex-m-qemu.ll
@@ -4,7 +4,7 @@ target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "thumbv7m-unknown-unknown-eabi"
%runtime._defer = type { i32, %runtime._defer* }
-%runtime.deferFrame = type { i8*, i8*, %runtime.deferFrame*, i1, %runtime._interface }
+%runtime.deferFrame = type { i8*, i8*, [0 x i8*], %runtime.deferFrame*, i1, %runtime._interface }
%runtime._interface = type { i32, i8* }
declare noalias nonnull i8* @runtime.alloc(i32, i8*, i8*) #0