[libc] Fix cyclical dependency on errno matcher for NVPTX architectures
Summary: The NVPTX backend cannot handle cyclical dependencies on global variable initializers. That is, a global variable cannot be used to initialize or reference another global variable inside of it. This situation was encountered with the new errno tests. This patch simply replaces the offending function with a constant version to break the dependency and alllow the tests to run again.
parent
cefc31c9
Please register or sign in to comment