Searched refs:EC (Results 126 - 150 of 485) sorted by relevance

1234567891011>>

/openbsd-current/gnu/llvm/lldb/source/Host/common/
H A DPseudoTerminal.cpp76 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 DToolOutputFile.h54 ToolOutputFile(StringRef Filename, std::error_code &EC,
H A DBinaryStreamArray.h170 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 DFileCollector.h42 std::error_code &EC) = 0;
129 std::error_code &EC) override;
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordHelpers.cpp20 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 DIRReader.cpp59 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 DYAMLTraits.cpp60 : 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 Dllvm-as.cpp83 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 Dyaml2obj.cpp124 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 DNativeSession.cpp80 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 DMemoryMapper.cpp42 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 DFileRemapper.cpp122 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 DSymbolSerializer.h43 if (auto EC = Writer.writeObject(Prefix))
44 return EC;
H A DRecordSerialization.h108 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 Dyaml2obj.cpp30 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 DMemory.inc101 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 Dllvm-cxxmap.cpp83 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 DCompilation.cpp128 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 DOffloadBundler.cpp495 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 DLVReader.cpp125 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 DOptimizerDriver.cpp81 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 Dllvm-dis.cpp185 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 DLTOBackend.cpp90 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 DMemory.inc75 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 DJITLinkMemoryManager.cpp259 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...]

Completed in 503 milliseconds

1234567891011>>