Displaying 1 result from an estimated 1 matches for "_z8throwintv".
2012 Dec 27
1
[LLVMdev] Throwing an exception from JITed code, and catching in C++
...'thrower.cpp'
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@_ZTIi = external constant i8*
define void @_Z8throwIntv() uwtable {
%1 = call i8* @__cxa_allocate_exception(i64 4) nounwind
%2 = bitcast i8* %1 to i32*
store i32 1, i32* %2
call void @__cxa_throw(i8* %1, i8* bitcast (i8** @_ZTIi to i8*), i8* null) noreturn
unreachable
; No predecessors!
ret v...