OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fcf4dc
)
Don't use llvm_report_error in libSystem, this is a layering violation.
author
Daniel Dunbar
<daniel@zuster.org>
Sun, 26 Jul 2009 21:16:42 +0000
(21:16 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sun, 26 Jul 2009 21:16:42 +0000
(21:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77169
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
7d7137c
..
80c7bd9
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_report_error(
"Unable to make absolute path!");
+
assert(0 &&
"Unable to make absolute path!");
} else if (RetLength > MAX_PATH) {
// FIXME: Report too small buffer (needed RetLength bytes).
-
llvm_report_error(
"Unable to make absolute path!");
+
assert(0 &&
"Unable to make absolute path!");
} else {
path = FullPath;
}