Commit bda79ec
committed
Improve test_dylink_tls. NFC
Make TLS variables static which fixes a linker failure when
building with `-g` (for example this test currently fails under wasm2g
and wasm0g congigurations).
Also, add two different TLS variables in each of the modules which
helps with debugging since only one of them will be at TLS offset 0.1 parent 872b959 commit bda79ec
1 file changed
+29
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4594 | 4594 | | |
4595 | 4595 | | |
4596 | 4596 | | |
| 4597 | + | |
4597 | 4598 | | |
4598 | | - | |
| 4599 | + | |
| 4600 | + | |
4599 | 4601 | | |
4600 | 4602 | | |
4601 | 4603 | | |
| 4604 | + | |
| 4605 | + | |
| 4606 | + | |
| 4607 | + | |
| 4608 | + | |
| 4609 | + | |
| 4610 | + | |
| 4611 | + | |
4602 | 4612 | | |
4603 | | - | |
| 4613 | + | |
4604 | 4614 | | |
4605 | 4615 | | |
4606 | 4616 | | |
4607 | 4617 | | |
4608 | 4618 | | |
4609 | 4619 | | |
| 4620 | + | |
| 4621 | + | |
| 4622 | + | |
| 4623 | + | |
4610 | 4624 | | |
4611 | | - | |
| 4625 | + | |
| 4626 | + | |
| 4627 | + | |
| 4628 | + | |
| 4629 | + | |
| 4630 | + | |
| 4631 | + | |
4612 | 4632 | | |
4613 | 4633 | | |
4614 | | - | |
| 4634 | + | |
4615 | 4635 | | |
4616 | 4636 | | |
4617 | 4637 | | |
| 4638 | + | |
| 4639 | + | |
| 4640 | + | |
| 4641 | + | |
4618 | 4642 | | |
4619 | | - | |
| 4643 | + | |
4620 | 4644 | | |
4621 | 4645 | | |
4622 | 4646 | | |
| |||
0 commit comments