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 | 5e2ebcba4000213d2d898be803ed1ed77bb11748 (patch) | |
tree | fcb1de52f95455ad7554d3294cd595fc311c0374 | |
parent | 9de79f7e908fd86b92982111b0a67a70914d5aee (diff) | |
download | bcm5719-llvm-5e2ebcba4000213d2d898be803ed1ed77bb11748.tar.gz bcm5719-llvm-5e2ebcba4000213d2d898be803ed1ed77bb11748.zip |
Use llvm_report_error, not llvm_unreachable.
llvm-svn: 75429
-rw-r--r-- | llvm/lib/System/Win32/Path.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/System/Win32/Path.inc b/llvm/lib/System/Win32/Path.inc index dac1d1dafb5..7d7137c2cd5 100644 --- a/llvm/lib/System/Win32/Path.inc +++ b/llvm/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; } |