interp: support llvm.lifetime.* calls

This fixes a bug found when updating a map with string keys.
Originally reported here:
https://github.com/hybridgroup/gdg-2019/issues/6
This commit is contained in:
Ayke van Laethem
2019-12-19 14:16:58 +01:00
committed by Ron Evans
parent 34ee3883d6
commit 9aeb8d9e06
6 changed files with 75 additions and 12 deletions
+1
View File
@@ -14,6 +14,7 @@ func TestInterp(t *testing.T) {
"basic",
"slice-copy",
"consteval",
"map",
} {
name := name // make tc local to this closure
t.Run(name, func(t *testing.T) {