compiler: add debug information to []embed.file slice global

This commit is contained in:
Ayke van Laethem
2023-03-04 22:47:29 +01:00
committed by Ayke
parent 11a6c84ea5
commit d87e3ce330
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ var (
// alloc: heap allocations during init interpretation
// pack: data created when storing a constant in an interface for example
// string: buffer behind strings
packageSymbolRegexp = regexp.MustCompile(`\$(alloc|embedfsslice|pack|string)(\.[0-9]+)?$`)
packageSymbolRegexp = regexp.MustCompile(`\$(alloc|pack|string)(\.[0-9]+)?$`)
)
// readProgramSizeFromDWARF reads the source location for each line of code and