[llvm-commits] [llvm] r75429 - /llvm/trunk/lib/System/Win32/Path.inc
Daniel Dunbar
daniel at zuster.org
Sun Jul 12 14:01:49 PDT 2009
Author: ddunbar
Date: Sun Jul 12 16:01:49 2009
New Revision: 75429
URL: http://llvm.org/viewvc/llvm-project?rev=75429&view=rev
Log:
Use llvm_report_error, not llvm_unreachable.
Modified:
llvm/trunk/lib/System/Win32/Path.inc
Modified: llvm/trunk/lib/System/Win32/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Win32/Path.inc?rev=75429&r1=75428&r2=75429&view=diff
==============================================================================
--- llvm/trunk/lib/System/Win32/Path.inc (original)
+++ llvm/trunk/lib/System/Win32/Path.inc Sun Jul 12 16:01:49 2009
@@ -135,10 +135,10 @@
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;
}
More information about the llvm-commits
mailing list