[clang] [clang] Fix segmentation fault caused by stack overflow on deeply nested expressions (PR #111701)

Boaz Brickner via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 11 05:40:19 PDT 2024


================
@@ -5817,7 +5817,10 @@ LValue CodeGenFunction::EmitHLSLArrayAssignLValue(const BinaryOperator *E) {
 
 LValue CodeGenFunction::EmitCallExprLValue(const CallExpr *E,
                                            llvm::CallBase **CallOrInvoke) {
-  RValue RV = EmitCallExpr(E, ReturnValueSlot(), CallOrInvoke);
----------------
bricknerb wrote:

Done.

https://github.com/llvm/llvm-project/pull/111701


More information about the cfe-commits mailing list