After register is spilled there should not be any DBG_VALUE referring the same register.
[oota-llvm.git] / lib / Support / system_error.cpp
index cd18906f067d2895f08897e86e3c3ff3787fbb07..56898de31520b71882e9d58fe5fafa44443e6734 100644 (file)
@@ -96,6 +96,15 @@ system_category() {
   return s;
 }
 
+const error_category&
+posix_category() {
+#ifdef LLVM_ON_WIN32
+  return generic_category();
+#else
+  return system_category();
+#endif
+}
+
 // error_condition
 
 std::string