Displaying 1 result from an estimated 1 matches for "2669_1".
2010 Dec 06
4
[LLVMdev] Inlining and exception handling in LLVM and GCC
...;throw" looked up the call stack, saw that there
were only cleanups, and called terminate rather than unwinding the exception.
Here's the LLVM IR for foo:
define void @_Z3foov() noreturn {
entry:
%memtmp = alloca %struct.X, align 8 ; <= Stack object for variable "x"
%D.2669_1 = call i8* @__cxa_allocate_exception(i64 4) nounwind
%D.2687_2 = bitcast i8* %D.2669_1 to i32*
store i32 1, i32* %D.2687_2, align 4
invoke void @__cxa_throw(i8* %D.2669_1, i8* bitcast
(%struct.__fundamental_type_info_pseudo* @_ZTIi to i8*), void (i8*)* null)
noreturn ; <= Call "t...