summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2019-01-16 05:15:31 +0000
committerTom Stellard <tstellar@redhat.com>2019-01-16 05:15:31 +0000
commit3d36e5c3e6cf8ed0ce68fd9e123654ddcfbaf7a3 (patch)
tree1bbe5cb162902e1881dd291f94874d67f76966b4 /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parenta5b0e5585b1d5734b7cad533d7b4ba53b1c4a030 (diff)
downloadbcm5719-llvm-3d36e5c3e6cf8ed0ce68fd9e123654ddcfbaf7a3.tar.gz
bcm5719-llvm-3d36e5c3e6cf8ed0ce68fd9e123654ddcfbaf7a3.zip
Only promote args when function attributes are compatible
Summary: Check to make sure that the caller and the callee have compatible function arguments before promoting arguments. This uses the same TargetTransformInfo queries that are used to determine if attributes are compatible for inlining. The goal here is to avoid breaking ABI when a called function's ABI depends on a target feature that is not enabled in the caller. This is a very conservative fix for PR37358. Ideally we would have a more sophisticated check for ABI compatiblity rather than checking if the attributes are compatible for inlining. Reviewers: echristo, chandlerc, eli.friedman, craig.topper Reviewed By: echristo, chandlerc Subscribers: nikic, xbolva00, rkruppe, alexcrichton, llvm-commits Differential Revision: https://reviews.llvm.org/D53554 llvm-svn: 351296
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud