summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2019-03-04 14:54:52 +0000
committerErich Keane <erich.keane@intel.com>2019-03-04 14:54:52 +0000
commit881e83d8b94f1997de674ed8ff382a73a29a719d (patch)
treedbcdf28beb0ad03330d2fd835b5cdfb2363d17a2 /lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py
parenteeb1144d27fcb4de8eb4feac113bdc0b70ac0abc (diff)
downloadbcm5719-llvm-881e83d8b94f1997de674ed8ff382a73a29a719d.tar.gz
bcm5719-llvm-881e83d8b94f1997de674ed8ff382a73a29a719d.zip
Give builtins and alloc/dealloc operators the default calling convention.
On SPIR targets, the default calling convention is SpirFunction. However, operator new/delete and builtins were being created with CC_C. The result is indirect references to new/delete (or builtins that are permitted to be called indirectly have a mismatched type, as well as questionable codegen in some cases. This patch sets both to the default calling convention, so that it properly matches the calling convention of the target. Differential Revision: https://reviews.llvm.org/D58844 Change-Id: I52065bb00bc2655945caea8f29c409ba1e0ac24a llvm-svn: 355317
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud