new name mangling rules for easier debugging

This commit is contained in:
Andreas Rumpf 2017-02-02 16:27:48 +01:00
commit fab69661ad
9 changed files with 90 additions and 59 deletions

View file

@ -2001,7 +2001,7 @@ proc expr(p: BProc, n: PNode, d: var TLoc) =
if sfThread in sym.flags:
accessThreadLocalVar(p, sym)
if emulatedThreadVars():
putIntoDest(p, d, sym.loc.t, "NimTV->" & sym.loc.r)
putIntoDest(p, d, sym.loc.t, "NimTV_->" & sym.loc.r)
else:
putLocIntoDest(p, d, sym.loc)
else: