From: Daniel Dunbar Date: Sun, 12 Jul 2009 21:01:49 +0000 (+0000) Subject: Use llvm_report_error, not llvm_unreachable. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cae9a3f51ddd4a63b17f1ef7369decd95830eaa4;p=oota-llvm.git Use llvm_report_error, not llvm_unreachable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75429 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index dac1d1dafb5..7d7137c2cd5 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; }