mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Fix: Reordering parameters in getFile and getFileOrSTDIN
There was a new getFileOrSTDIN call added recently which was not included in my patch. https://reviews.llvm.org/D99110 I reordered the args to match the new order. Reviewed By: tunz Differential Revision: https://reviews.llvm.org/D99349
This commit is contained in:
parent
12d5e4c369
commit
bd8a561807
@ -329,7 +329,7 @@ CoverageMapping::load(ArrayRef<StringRef> ObjectFilenames,
|
||||
|
||||
for (const auto &File : llvm::enumerate(ObjectFilenames)) {
|
||||
auto CovMappingBufOrErr = MemoryBuffer::getFileOrSTDIN(
|
||||
File.value(), /*FileSize=*/-1, /*RequiresNullTerminator=*/false);
|
||||
File.value(), /*IsText=*/false, /*RequiresNullTerminator=*/false);
|
||||
if (std::error_code EC = CovMappingBufOrErr.getError())
|
||||
return errorCodeToError(EC);
|
||||
StringRef Arch = Arches.empty() ? StringRef() : Arches[File.index()];
|
||||
|
Loading…
Reference in New Issue
Block a user