Added codegen for error directive.
Generate IR to call: void __kmpc_error(ident_t *loc, int severity, const char *message);
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/CodeGen/CGOpenMPRuntime.h | ||
---|---|---|
335 | Why the new argument? |
clang/lib/CodeGen/CGOpenMPRuntime.h | ||
---|---|---|
335 | Emit error without -g (debug info turn on.) |
clang/lib/CodeGen/CGOpenMPRuntime.h | ||
---|---|---|
335 | Hi @jdoerfert, /// \param EmitLoc emit source location with debug-info is off. Do you mean that is not clear to you? Any suggestion? Thanks. |
clang/lib/CodeGen/CGOpenMPRuntime.h | ||
---|---|---|
335 | Why do you need this location? To output it for the user in the runtime library call? |
clang/lib/CodeGen/CGOpenMPRuntime.h | ||
---|---|---|
335 | Thanks Alexey! OMP: Warning #283: test_error_directive.cpp:6:1: Encountered user-directed warning: 2 or more procs required.. ... |
Why the new argument?