aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Win32
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Win32')
-rw-r--r--lib/System/Win32/Path.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc
index dac1d1d..7d7137c 100644
--- a/lib/System/Win32/Path.inc
+++ b/lib/System/Win32/Path.inc
@@ -135,10 +135,10 @@ void Path::makeAbsolute() {
if (0 == RetLength) {
// FIXME: Report the error GetLastError()
- llvm_unreachable("Unable to make absolute path!");
+ llvm_report_error("Unable to make absolute path!");
} else if (RetLength > MAX_PATH) {
// FIXME: Report too small buffer (needed RetLength bytes).
- llvm_unreachable("Unable to make absolute path!");
+ llvm_report_error("Unable to make absolute path!");
} else {
path = FullPath;
}