mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 07:23:39 +00:00
transform: add -print-allocs-cover and restore -print-allocs reason output
PR #5220 changed -print-allocs output to the go coverage tool format, which replaced the original human-readable explanation of why each object had to be heap allocated. That explanation is useful on its own, so this restores it as the default behavior of -print-allocs and moves the coverage format behind a -print-allocs-cover flag. Signed-off-by: Piotr Bocheński <piotr@bochen.ski>
This commit is contained in:
committed by
Ron Evans
parent
c33113ab5f
commit
4465360f3d
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
testdata/allocs2.go:13.1,13.9 1 0
|
||||
testdata/allocs2.go:23.1,23.22 1 0
|
||||
testdata/allocs2.go:26.1,26.43 1 0
|
||||
testdata/allocs2.go:28.1,28.25 1 0
|
||||
testdata/allocs2.go:31.1,31.22 1 0
|
||||
testdata/allocs2.go:38.1,38.23 1 0
|
||||
testdata/allocs2.go:46.1,46.23 1 0
|
||||
testdata/allocs2.go:48.1,48.22 1 0
|
||||
testdata/allocs2.go:51.1,51.9 1 0
|
||||
testdata/allocs2.go:52.1,52.9 1 0
|
||||
Reference in New Issue
Block a user