projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename BlockFrequency to BlockFrequencyInfo and MachineBlockFrequency to
[oota-llvm.git]
/
lib
/
Support
/
system_error.cpp
diff --git
a/lib/Support/system_error.cpp
b/lib/Support/system_error.cpp
index cd18906f067d2895f08897e86e3c3ff3787fbb07..56898de31520b71882e9d58fe5fafa44443e6734 100644
(file)
--- a/
lib/Support/system_error.cpp
+++ b/
lib/Support/system_error.cpp
@@
-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