summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2017-01-05 16:53:21 +0000
committerJustin Lebar <jlebar@google.com>2017-01-05 16:53:21 +0000
commitb6626593555ad2542c2d3800befa7c9d193032d1 (patch)
tree5b60ddbf0104e86079c8df37c9fbd65bbfb295bf /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent0203f2c26e49afedcbcf5f6a2c0c0d4a16169364 (diff)
[CUDA] More correctly inherit primitive types from the host during device compilation.
Summary: CUDA lets users share structs between the host and device, so for that and other reasons, primitive types such as ptrdiff_t should be the same on both sides of the compilation. Our code to do this wasn't entirely successful. In particular, we did a bunch of work during the NVPTXTargetInfo constructor, only to override it in the NVPTX{32,64}TargetInfo constructors. It worked well enough on Linux and Mac, but Windows is LLP64, which is different enough to break it. This patch removes the NVPTX{32,64}TargetInfo classes entirely and fixes the bug described above. Reviewers: tra Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D28322 llvm-svn: 291135
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions