aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorKoakuma <koachan@protonmail.com>2022-10-18 00:01:55 +0000
committerFangrui Song <i@maskray.me>2022-10-18 00:01:55 +0000
commitd3fcbee10d893b9e01e563c3840414ba89283484 (patch)
tree27a5de6fe9e3ab5a453aa26bbd7b52c4d6787845 /lldb/source/Commands/CommandObjectExpression.cpp
parentc93430bae4fc95b58185900aa5f0ccbc037de031 (diff)
downloadllvm-d3fcbee10d893b9e01e563c3840414ba89283484.zip
llvm-d3fcbee10d893b9e01e563c3840414ba89283484.tar.gz
llvm-d3fcbee10d893b9e01e563c3840414ba89283484.tar.bz2
[SPARC] Make calls to function with big return values work
Implement CanLowerReturn and associated CallingConv changes for SPARC/SPARC64. In particular, for SPARC64 there's new `RetCC_Sparc64_*` functions that handles the return case of the calling convention. It uses the same analysis as `CC_Sparc64_*` family of funtions, but fails if the return value doesn't fit into the return registers. This makes calls to functions with big return values converted to an sret function as expected, instead of crashing LLVM. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D132465
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions