next steps in getting symbol files to work again

This commit is contained in:
Araq 2016-08-16 20:04:27 +02:00
commit a13cb26c40
11 changed files with 140 additions and 46 deletions

View file

@ -1020,7 +1020,7 @@ proc genInitCode(m: BModule) =
var procname = makeCString(m.module.name.s)
add(prc, initFrame(m.initProc, procname, m.module.info.quotedFilename))
else:
add(prc, ~"\tTFrame F; FR.len = 0;$N")
add(prc, ~"\tTFrame FR; FR.len = 0;$N")
add(prc, genSectionStart(cpsInit))
add(prc, m.preInitProc.s(cpsInit))