projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b30a2b
)
Use llvm_report_error, not llvm_unreachable.
author
Daniel Dunbar
<daniel@zuster.org>
Sun, 12 Jul 2009 21:01:49 +0000
(21:01 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sun, 12 Jul 2009 21:01:49 +0000
(21:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75429
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Win32/Path.inc
patch
|
blob
|
history
diff --git
a/lib/System/Win32/Path.inc
b/lib/System/Win32/Path.inc
index dac1d1dafb5d608e6f4c9fe264cb8d292ef627dd..7d7137c2cd5c70468d6969eb050fe92cc3e20ef5 100644
(file)
--- 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;
}