Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax invariants checked by erts_add_taint before initialization
Debug builds configured with static NIFs are currently not usable since they abort during startup. The abort is caused by a check in erts_add_taint that makes sense once the runtime has started but might not be meaningful before the runtime has been started, notably during static NIF initialization. This change adds an additional check that allows erts_add_taint to proceed when called during runtime initialization. With this check, a debug with static NIFs can complete the startup process.
- Loading branch information