summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
diff options
context:
space:
mode:
authorNick Sarnie <nick.sarnie@intel.com>2025-11-12 03:11:23 +0900
committerGitHub <noreply@github.com>2025-11-11 18:11:23 +0000
commit42750194fb4acccd5d4ceb0c7bb04743eeebe3e6 (patch)
tree0fcae8900a034b2392376f299abfe350b88b9d26 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
parent4d2741361a3e1cebbcd7abb28b7abdcbe74c91b7 (diff)
[clang][SPIRV] Don't addrspacecast nullptr for function pointer types (#167379)
According to the [spec](https://github.com/intel/llvm/blob/sycl/sycl/doc/design/spirv-extensions/SPV_INTEL_function_pointers.asciidoc), it is illegal to addrspacecast to the generic AS, so use the function pointer AS for null constants. "It is illegal to use Function Pointer as 'Pointer' argument of OpPtrCastToGeneric." This was found when compiling the OpenMP Device RTL for SPIR-V. Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions