However, if it is used then tetris example fails with this error.
GEP is not of right type for indices!
%3 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %2, i32 0, i32 2
i32GEP is not of right type for indices!
%5 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %2, i32 0, i32 2
i32GEP is not of right type for indices!
%11 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %2, i32 0, i32 2
i32GEP is not of right type for indices!
%13 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %2, i32 0, i32 2
i32GEP is not of right type for indices!
%19 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %2, i32 0, i32 2
i32GEP is not of right type for indices!
%21 = getelementptr inbounds %struct.sigaction, %struct.sigaction* %2, i32 0, i32 2
i32LLVM ERROR: Broken function found, compilation aborted!
The following code should illustrate how to use the preserved value registry
However, if it is used then tetris example fails with this error.