diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-11-10 15:30:55 +0000 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-11-10 15:30:56 +0000 |
commit | 27177b82d4ca4451f288168fc1e06c0736afbdaf (patch) | |
tree | f999a65ff825b71bcbd42f24dd0d8a37ce02b762 /lldb/unittests/ScriptInterpreter/Python | |
parent | 8cd1c2c8d3c49e37f11b8ed84844c87c2a4d829c (diff) | |
download | llvm-27177b82d4ca4451f288168fc1e06c0736afbdaf.zip llvm-27177b82d4ca4451f288168fc1e06c0736afbdaf.tar.gz llvm-27177b82d4ca4451f288168fc1e06c0736afbdaf.tar.bz2 |
[OpenMP] Lower printf to __llvm_omp_vprintf
Extension of D112504. Lower amdgpu printf to `__llvm_omp_vprintf`
which takes the same const char*, void* arguments as cuda vprintf and also
passes the size of the void* alloca which will be needed by a non-stub
implementation of `__llvm_omp_vprintf` for amdgpu.
This removes the amdgpu link error on any printf in a target region in favour
of silently compiling code that doesn't print anything to stdout.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D112680
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions