LLD_IN_TEST determines how many times each port's main function is
run in each LLD process, and setting LLD_IN_TEST=2 (or higher) is useful
for checking if we're cleaning up and resetting global state correctly.
Add a test suite parameter to enable this easily. There's work in
progress to remove global state (e.g. D108850), but this seems useful in
the interim.
Details
Details
- Reviewers
aganea rnk MaskRay gkm - Group Reviewers
Restricted Project - Commits
- rG7a4b27609d45: [lld] Add test suite mode for running LLD main twice
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo