mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 18:19:16 +02:00
* generate debuginfo for WebAssembly threadvars like for normal vars, when
WebAssembly threads are turned off
This commit is contained in:
parent
a20c83fdfb
commit
97e5936f78
@ -2360,7 +2360,9 @@ implementation
|
|||||||
case sym.typ of
|
case sym.typ of
|
||||||
staticvarsym:
|
staticvarsym:
|
||||||
begin
|
begin
|
||||||
if vo_is_thread_var in sym.varoptions then
|
if (vo_is_thread_var in sym.varoptions) and
|
||||||
|
(not (target_info.system in systems_wasm) or
|
||||||
|
(ts_wasm_threads in current_settings.targetswitches)) then
|
||||||
begin
|
begin
|
||||||
if tf_section_threadvars in target_info.flags then
|
if tf_section_threadvars in target_info.flags then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user