/openbsd-current/gnu/llvm/lldb/source/Host/common/ |
H A D | PseudoTerminal.cpp | 76 std::error_code EC(errno, std::generic_category()); 78 return llvm::errorCodeToError(EC); 83 std::error_code EC(errno, std::generic_category()); 85 return llvm::errorCodeToError(EC);
|
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/ |
H A D | ToolOutputFile.h | 54 ToolOutputFile(StringRef Filename, std::error_code &EC,
|
H A D | BinaryStreamArray.h | 170 auto EC = Extract(IterRef, ThisLen, ThisValue); local 171 if (EC) { 172 consumeError(std::move(EC)); 214 auto EC = Extract(IterRef, ThisLen, ThisValue); local 215 if (EC) { 216 consumeError(std::move(EC)); 285 if (auto EC = Stream.readBytes(Off, sizeof(T), Data)) { 289 consumeError(std::move(EC));
|
H A D | FileCollector.h | 42 std::error_code &EC) = 0; 129 std::error_code &EC) override;
|
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeRecordHelpers.cpp | 20 if (auto EC = TypeDeserializer::deserializeAs<RecordT>(CVT, Record)) { 21 consumeError(std::move(EC)); 164 if (auto EC = TypeDeserializer::deserializeAs<RecordT>(CVT, Record)) { 165 consumeError(std::move(EC));
|
/openbsd-current/gnu/llvm/llvm/lib/IRReader/ |
H A D | IRReader.cpp | 59 if (std::error_code EC = FileOrErr.getError()) { 61 "Could not open input file: " + EC.message()); 99 if (std::error_code EC = FileOrErr.getError()) { 101 "Could not open input file: " + EC.message());
|
/openbsd-current/gnu/llvm/llvm/lib/Support/ |
H A D | YAMLTraits.cpp | 60 : IO(Ctxt), Strm(new Stream(InputContent, SrcMgr, false, &EC)) { 68 : IO(Ctxt), Strm(new Stream(Input, SrcMgr, false, &EC)) { 76 std::error_code Input::error() { return EC; } 93 EC = make_error_code(errc::invalid_argument); 133 if (EC) 157 if (EC) 164 EC = make_error_code(errc::invalid_argument); 195 if (EC) 236 if (EC) 253 if (EC) [all...] |
/openbsd-current/gnu/llvm/llvm/tools/llvm-as/ |
H A D | llvm-as.cpp | 83 std::error_code EC; local 85 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); 86 if (EC) { 87 errs() << EC.message() << '\n';
|
/openbsd-current/gnu/llvm/llvm/tools/yaml2obj/ |
H A D | yaml2obj.cpp | 124 std::error_code EC; local 126 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); 127 if (EC) { 128 ErrHandler("failed to open '" + OutputFilename + "': " + EC.message());
|
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeSession.cpp | 80 if (auto EC = File->parseFileHeaders()) 81 return EC; 82 if (auto EC = File->parseStreamData()) 83 return EC; 102 auto EC = identify_magic(PdbPath, Magic); local 103 if (EC || Magic != file_magic::pdb) 104 return make_error<RawError>(EC); 110 if (auto EC = File->parseFileHeaders()) 111 return std::move(EC); 113 if (auto EC 157 auto EC = identify_magic(PdbPath.get(), Magic); local [all...] |
/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
H A D | MemoryMapper.cpp | 42 std::error_code EC; local 44 NumBytes, nullptr, sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC); 46 if (EC) 47 return OnReserved(errorCodeToError(EC)); 81 if (auto EC = sys::Memory::protectMappedMemory( 84 return OnInitialized(errorCodeToError(EC)); 123 if (auto EC = sys::Memory::protectMappedMemory( 127 AllErr = joinErrors(std::move(AllErr), errorCodeToError(EC)); 162 auto EC = sys::Memory::releaseMappedMemory(MB); local 163 if (EC) { [all...] |
/openbsd-current/gnu/llvm/clang/lib/ARCMigrate/ |
H A D | FileRemapper.cpp | 122 std::error_code EC; 124 llvm::raw_fd_ostream infoOut(infoFile, EC, llvm::sys::fs::OF_Text); 125 if (EC) 126 return report(EC.message(), Diag); 180 std::error_code EC; 181 llvm::raw_fd_ostream Out(origFE->getName(), EC, llvm::sys::fs::OF_None); 182 if (EC) 183 return report(EC.message(), Diag);
|
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | SymbolSerializer.h | 43 if (auto EC = Writer.writeObject(Prefix)) 44 return EC;
|
H A D | RecordSerialization.h | 108 if (auto EC = consume(Reader, Field)) 109 return EC; 129 if (auto EC = Reader.readCString(Field)) 130 return EC; 221 if (auto EC = consume(Reader, X)) 222 return EC;
|
/openbsd-current/gnu/llvm/llvm/lib/ObjectYAML/ |
H A D | yaml2obj.cpp | 30 if (std::error_code EC = YIn.error()) { 31 ErrHandler("failed to parse YAML input: " + EC.message());
|
/openbsd-current/gnu/llvm/llvm/lib/Support/Windows/ |
H A D | Memory.inc | 101 unsigned Flags, std::error_code &EC) { 102 EC = std::error_code(); 138 return allocateMappedMemory(NumBytes, NULL, Flags & ~MF_HUGE_HINT, EC); 140 EC = mapWindowsError(::GetLastError());
|
/openbsd-current/gnu/llvm/llvm/tools/llvm-cxxmap/ |
H A D | llvm-cxxmap.cpp | 83 static void exitWithErrorCode(std::error_code EC, StringRef Whence = "") { argument 84 exitWithError(EC.message(), Whence); 159 std::error_code EC; local 160 raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::OF_TextWithCRLF); 161 if (EC) 162 exitWithErrorCode(EC, OutputFilename);
|
/openbsd-current/gnu/llvm/clang/lib/Driver/ |
H A D | Compilation.cpp | 128 if (std::error_code EC = llvm::sys::fs::remove(File)) { 135 << EC.message(); 175 std::error_code EC; local 177 getDriver().CCPrintOptionsFilename, EC, 179 if (EC) { 181 << EC.message();
|
H A D | OffloadBundler.cpp | 495 if (std::error_code EC = 497 return createFileError(File, EC); 501 std::error_code EC; local 502 raw_fd_ostream OS(File, EC); 503 if (EC) 504 return createFileError(File, EC); 881 if (std::error_code EC = CodeOrErr.getError()) 882 return createFileError(InputFileName, EC); 899 std::error_code EC; 902 raw_fd_ostream OutputFile(BundlerConfig.OutputFileNames.front(), EC, [all...] |
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVReader.cpp | 125 if (std::error_code EC = llvm::sys::fs::create_directories(Location)) 126 return createStringError(EC, "Error: could not create directory %s", 143 std::error_code EC; local 144 OutputFile = std::make_unique<ToolOutputFile>(Name, EC, sys::fs::OF_None); 145 if (EC) 146 return EC;
|
/openbsd-current/gnu/llvm/llvm/tools/bugpoint/ |
H A D | OptimizerDriver.cpp | 81 std::error_code EC; local 82 ToolOutputFile Out(Filename, EC, sys::fs::OF_None); 83 if (!EC) 137 std::error_code EC = sys::fs::createUniqueFile( local 139 if (EC) { 141 << ": Error making unique filename: " << EC.message() << "\n";
|
/openbsd-current/gnu/llvm/llvm/tools/llvm-dis/ |
H A D | llvm-dis.cpp | 185 if (std::error_code EC = BufferOrErr.getError()) { 186 WithColor::error() << InputFilename << ": " << EC.message() << '\n'; 238 std::error_code EC; local 240 new ToolOutputFile(FinalFilename, EC, sys::fs::OF_TextWithCRLF)); 241 if (EC) { 242 errs() << EC.message() << '\n';
|
/openbsd-current/gnu/llvm/llvm/lib/LTO/ |
H A D | LTOBackend.cpp | 90 std::error_code EC; local 93 std::make_unique<raw_fd_ostream>(OutputFileName + "resolution.txt", EC, 95 if (EC) { 97 return errorCodeToError(EC); 121 std::error_code EC; 122 raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::OF_None); 125 if (EC) 126 reportOpenError(Path, EC.message()); 136 std::error_code EC; 137 raw_fd_ostream OS(Path, EC, sy 376 std::error_code EC; local 388 std::error_code EC; local [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Support/Unix/ |
H A D | Memory.inc | 75 unsigned PFlags, std::error_code &EC) { 76 EC = std::error_code(); 89 EC = std::error_code(errno, std::generic_category()); 122 return allocateMappedMemory(NumBytes, nullptr, PFlags, EC); 125 EC = std::error_code(errno, std::generic_category()); 143 EC = Memory::protectMappedMemory(Result, PFlags); 144 if (EC != std::error_code())
|
/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
H A D | JITLinkMemoryManager.cpp | 259 if (auto EC = sys::Memory::releaseMappedMemory(FinalizationSegments)) { 260 OnFinalized(errorCodeToError(EC)); 271 if (auto EC = sys::Memory::releaseMappedMemory(FinalizationSegments)) 272 Err = joinErrors(std::move(Err), errorCodeToError(EC)); 273 if (auto EC = sys::Memory::releaseMappedMemory(StandardSegments)) 274 Err = joinErrors(std::move(Err), errorCodeToError(EC)); 289 if (auto EC = sys::Memory::protectMappedMemory(MB, Prot)) 290 return errorCodeToError(EC); 357 std::error_code EC; local 359 ReadWrite, EC); [all...] |