diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-12 21:01:49 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-12 21:01:49 +0000 |
commit | b331c6294261672b6d6befa6bcf3cb3f185df68f (patch) | |
tree | 7a3d060451bf4bc7a72b490d641838fa537a21c8 /lib/System/Win32 | |
parent | 0a24bfaa2df9fb9ac87648320cdb088be781213a (diff) | |
download | external_llvm-b331c6294261672b6d6befa6bcf3cb3f185df68f.zip external_llvm-b331c6294261672b6d6befa6bcf3cb3f185df68f.tar.gz external_llvm-b331c6294261672b6d6befa6bcf3cb3f185df68f.tar.bz2 |
Use llvm_report_error, not llvm_unreachable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75429 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Win32')
-rw-r--r-- | lib/System/Win32/Path.inc | 4 |
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; } |