Don't use llvm_report_error in libSystem, this is a layering violation.

llvm-svn: 77169
This commit is contained in:
Daniel Dunbar 2009-07-26 21:16:42 +00:00
parent 602d44fa70
commit bcd92f1bc4
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}