HomeSort by: relevance | last modified time | path
    Searched refs:ErrMsg (Results 1 - 25 of 75) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
SupportBindings.h 21 // stable C API and adds an extra ErrMsg parameter to retrieve the error
23 void LLVMLoadLibraryPermanently2(const char *Filename, char **ErrMsg);
SupportBindings.cpp 18 void LLVMLoadLibraryPermanently2(const char *Filename, char **ErrMsg) {
21 *ErrMsg = static_cast<char *>(malloc(ErrMsgStr.size() + 1));
22 memcpy(static_cast<void *>(*ErrMsg),
  /src/external/apache2/llvm/dist/llvm/lib/Support/
BinaryStreamError.cpp 24 ErrMsg = "Stream Error: ";
27 ErrMsg += "An unspecified error has occurred.";
30 ErrMsg += "The stream is too short to perform the requested operation.";
33 ErrMsg += "The buffer size is not a multiple of the array element size.";
36 ErrMsg += "The specified offset is invalid for the current stream.";
39 ErrMsg += "An I/O error occurred on the file system.";
44 ErrMsg += " ";
45 ErrMsg += Context;
49 void BinaryStreamError::log(raw_ostream &OS) const { OS << ErrMsg; }
51 StringRef BinaryStreamError::getErrorMessage() const { return ErrMsg; }
    [all...]
Error.cpp 142 std::string ErrMsg;
144 raw_string_ostream ErrStream(ErrMsg);
147 report_fatal_error(ErrMsg);
160 char *ErrMsg = new char[Tmp.size() + 1];
161 memcpy(ErrMsg, Tmp.data(), Tmp.size());
162 ErrMsg[Tmp.size()] = '\0';
163 return ErrMsg;
166 void LLVMDisposeErrorMessage(char *ErrMsg) { delete[] ErrMsg; }
172 LLVMErrorRef LLVMCreateStringError(const char *ErrMsg) {
    [all...]
Program.cpp 29 unsigned MemoryLimit, std::string *ErrMsg,
36 std::string *ErrMsg, bool *ExecutionFailed,
41 if (Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg,
47 ErrMsg, ProcStat);
60 unsigned MemoryLimit, std::string *ErrMsg,
66 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg,
GraphWriter.cpp 120 std::string &ErrMsg) {
122 if (sys::ExecuteAndWait(ExecPath, args, None, {}, 0, 0, &ErrMsg)) {
123 errs() << "Error: " << ErrMsg << "\n";
129 sys::ExecuteNoWait(ExecPath, args, None, {}, 0, &ErrMsg);
176 std::string ErrMsg;
189 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg))
198 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg))
209 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg);
222 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg);
269 if (ExecGraphViewer(GeneratorPath, args, Filename, true, ErrMsg))
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm-c/
Error.h 58 void LLVMDisposeErrorMessage(char *ErrMsg);
68 LLVMErrorRef LLVMCreateStringError(const char *ErrMsg);
  /src/external/apache2/llvm/dist/llvm/lib/Support/Unix/
Unix.h 52 /// This function builds an error message into \p ErrMsg using the \p prefix
60 std::string* ErrMsg, const std::string& prefix, int errnum = -1) {
61 if (!ErrMsg)
65 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
72 std::string ErrMsg;
73 MakeErrMsg(&ErrMsg, Msg, errnum);
74 llvm::report_fatal_error(ErrMsg);
Program.inc 96 static bool RedirectIO(Optional<StringRef> Path, int FD, std::string* ErrMsg) {
109 MakeErrMsg(ErrMsg, "Cannot open file '" + File + "' for "
116 MakeErrMsg(ErrMsg, "Cannot dup2");
125 static bool RedirectIO_PS(const std::string *Path, int FD, std::string *ErrMsg,
139 return MakeErrMsg(ErrMsg, "Cannot posix_spawn_file_actions_addopen", Err);
177 unsigned MemoryLimit, std::string *ErrMsg,
180 if (ErrMsg)
181 *ErrMsg = std::string("Executable \"") + Program.str() +
227 if (RedirectIO_PS(RedirectsStr[0], 0, ErrMsg, FileActions) ||
228 RedirectIO_PS(RedirectsStr[1], 1, ErrMsg, FileActions)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/
TestRunner.cpp 28 std::string ErrMsg;
31 /*SecondsToWait=*/0, /*MemoryLimit=*/0, &ErrMsg);
35 ErrMsg,
  /src/external/apache2/llvm/dist/llvm/utils/not/
not.cpp 60 std::string ErrMsg;
61 int Result = sys::ExecuteAndWait(*Program, Argv, None, {}, 0, 0, &ErrMsg);
71 WithColor::error() << ErrMsg << "\n";
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
DynamicLibrary.h 62 /// instance on failure (see isValid()). \p *errMsg will only be modified
68 std::string *errMsg = nullptr);
78 std::string *errMsg = nullptr);
86 std::string *ErrMsg = nullptr) {
87 return !getPermanentLibrary(Filename, ErrMsg).isValid();
BinaryStreamError.h 42 std::string ErrMsg;
Signals.h 32 bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = nullptr);
Program.h 131 std::string *ErrMsg = nullptr, ///< If non-zero, provides a pointer to a
152 std::string *ErrMsg = nullptr,
215 std::string *ErrMsg = nullptr, ///< If non-zero, provides a pointer to a
  /src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/OrcV2CBindingsBasicUsage/
OrcV2CBindingsBasicUsage.c 19 char *ErrMsg = LLVMGetErrorMessage(Err);
20 fprintf(stderr, "Error: %s\n", ErrMsg);
21 LLVMDisposeErrorMessage(ErrMsg);
  /src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/OrcV2CBindingsAddObjectFile/
OrcV2CBindingsAddObjectFile.c 20 char *ErrMsg = LLVMGetErrorMessage(Err);
21 fprintf(stderr, "Error: %s\n", ErrMsg);
22 LLVMDisposeErrorMessage(ErrMsg);
  /src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/OrcV2CBindingsRemovableCode/
OrcV2CBindingsRemovableCode.c 19 char *ErrMsg = LLVMGetErrorMessage(Err);
20 fprintf(stderr, "Error: %s\n", ErrMsg);
21 LLVMDisposeErrorMessage(ErrMsg);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
JITTargetMachineBuilder.cpp 45 std::string ErrMsg;
46 auto *TheTarget = TargetRegistry::lookupTarget(TT.getTriple(), ErrMsg);
48 return make_error<StringError>(std::move(ErrMsg), inconvertibleErrorCode());
  /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
obj2yaml.cpp 69 std::string ErrMsg;
70 raw_string_ostream OS(ErrMsg);
73 errs() << "Error reading file: " << Input << ": " << ErrMsg;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/Windows/
WindowsSupport.h 68 bool MakeErrMsg(std::string *ErrMsg, const std::string &prefix);
72 std::string ErrMsg;
73 MakeErrMsg(&ErrMsg, Msg);
74 llvm::report_fatal_error(ErrMsg);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/TargetProcess/
RegisterEHFrames.cpp 178 auto ErrMsg = toString(std::move(Err));
179 return WrapperFunctionResult::from(ErrMsg).release();
204 auto ErrMsg = toString(std::move(Err));
205 return WrapperFunctionResult::from(ErrMsg).release();
  /src/external/apache2/llvm/dist/llvm/lib/Support/Windows/
Program.inc 109 bool MakeErrMsg(std::string *ErrMsg, const std::string &prefix) {
110 if (!ErrMsg)
119 *ErrMsg = prefix + ": " + buffer;
121 *ErrMsg = prefix + ": Unknown error";
122 *ErrMsg += " (0x" + llvm::utohexstr(LastError) + ")";
129 std::string *ErrMsg) {
163 MakeErrMsg(ErrMsg, fname + ": Can't open file for " +
175 unsigned MemoryLimit, std::string *ErrMsg,
178 if (ErrMsg)
179 *ErrMsg = "program not executable"
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/
RuntimeDyld.h 46 RuntimeDyldError(std::string ErrMsg) : ErrMsg(std::move(ErrMsg)) {}
49 const std::string &getErrorMessage() const { return ErrMsg; }
53 std::string ErrMsg;
156 virtual bool finalizeMemory(std::string *ErrMsg = nullptr) = 0;
  /src/external/apache2/llvm/dist/llvm/lib/LTO/
LTOCodeGenerator.cpp 222 std::string ErrMsg = "could not open bitcode file for writing: ";
223 ErrMsg += Path.str() + ": " + EC.message();
224 emitError(ErrMsg);
233 std::string ErrMsg = "could not write bitcode file: ";
234 ErrMsg += Path.str() + ": " + Out.os().error().message();
235 emitError(ErrMsg);
328 std::string ErrMsg;
329 MArch = TargetRegistry::lookupTarget(TripleStr, ErrMsg);
331 emitError(ErrMsg);
680 void LTOCodeGenerator::emitError(const std::string &ErrMsg) {
    [all...]

Completed in 52 milliseconds

1 2 3