Since PassRegistry is currently a shared global object, it needs locking. ...
Since PassRegistry is currently a shared global object, it needs locking. While it might intuitively seem that all the setup of this class currently happens at static initialization time, this misses the fact that some later events can cause mutation of the PassRegistrationListeners list, and thus cause race issues. llvm-svn: 114036
Loading
Please register or sign in to comment