aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorAlex Voicu <alexandru.voicu@amd.com>2025-08-08 20:31:28 +0100
committerGitHub <noreply@github.com>2025-08-08 12:31:28 -0700
commit327c64cd6a69e35fe1351d4f5e89cd235e34ccc8 (patch)
tree471cc5d378e3630895a1123ca49780b7f4fa406a /lldb/scripts/Python/python-wrapper.swig
parentca006898b3c289808b05562a59ded11fedfc5406 (diff)
downloadllvm-327c64cd6a69e35fe1351d4f5e89cd235e34ccc8.zip
llvm-327c64cd6a69e35fe1351d4f5e89cd235e34ccc8.tar.gz
llvm-327c64cd6a69e35fe1351d4f5e89cd235e34ccc8.tar.bz2
[HIP][SPIRV] Implicit `new`/`delete` should be `cdecl` on host (#152023)
Client apps can (and in the case of the MSVC STL do) set cdecl explicitly on `new` / `delete` implementations. On the other hand, Clang generates implicit decls with the target's default CC. This is problematic for SPIR-V, since the default there is spir_function, which is not compatible. Since we cannot change pre-existing headers / implementations, this patch sets the CC to C for the implicit host-side decls, when compiling for device, to prevent the conflict. This is fine because the host-side overloards do not get emitted on device.
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions