Turn on the TLS emulation when using Boehm, since it doesn't scan the real TLS.
This commit is contained in:
parent
ac65986aae
commit
27741d6a5c
1 changed files with 1 additions and 0 deletions
|
|
@ -493,6 +493,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
|
|||
of "boehm":
|
||||
conf.selectedGC = gcBoehm
|
||||
defineSymbol(conf.symbols, "boehmgc")
|
||||
incl conf.globalOptions, optTlsEmulation # Boehm GC doesn't scan the real TLS
|
||||
of "refc":
|
||||
conf.selectedGC = gcRefc
|
||||
of "v2":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue