The call to the function f2 in the test largeimmprinting.ll has a large size argument passed by value. This causes the lowering implementation to create a call to memcpy for coping the large sized argument in the argument build area.
This results in a nested call sequence which was not allowed by the machine verifier before. This patch adds a stack to save the sizes of the stack adjustments and checks if there is any mismatch.