summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-07-26 16:03:36 -0500
committerGitHub <noreply@github.com>2024-07-26 16:03:36 -0500
commit069e8bcd82c4420239f95c7e6a09e1f756317cfc (patch)
tree5d37d313311e17446e15fcb5c13b9b49716b70a0 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent26d92826a5ed7894fb6d604c8e0e755daa50cdf7 (diff)
[OpenMP][libc] Remove special handling for OpenMP printf (#98940)
Summary: Currently there are several layers to handle `printf`. Since we now have varargs and an implementation of `printf` this can be heavily simplified. 1. The frontend renames `printf` into `omp_vprintf` and gives it an argument buffer. Removing 1. triggered some code in the AMDGPU backend menat for HIP / OpenCL, so I hadded an exception to it. 2. Forward this to CUDA vprintf or ignore it. We no longer need special handling for it since we have varargs. So now we just forward this to CUDA vprintf if we have libc, otherwise just leave `printf` as an external function and expect that `libc` will be linked in.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions