mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-06 11:29:27 +00:00
Use llvm_report_error, not llvm_unreachable.
llvm-svn: 75429
This commit is contained in:
parent
d2f2458584
commit
4aa12d4330
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user