mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Don't use llvm_report_error in libSystem, this is a layering violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0fcf4dc6d3
commit
2749b3e745
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user