Displaying 9 results from an estimated 9 matches for "__cxa_call_unexpected".
2012 May 22
4
[LLVMdev] How to get llvm bitcode executed
...void @_ZSt9terminatev()
declare i32 @memcmp(i8*, i8*, i64)
declare i64 @llvm.expect.i64(i64, i64) nounwind readnone
declare void @_ZSt19__throw_logic_errorPKc(i8*) noreturn
declare i8* @__cxa_begin_catch(i8*)
declare void @__cxa_rethrow()
declare void @__cxa_end_catch()
declare void @__cxa_call_unexpected(i8*)
declare void @_ZdlPv(i8*) nounwind
declare void @_ZSt20__throw_length_errorPKc(i8*) noreturn
declare void @_ZSt17__throw_bad_allocv() noreturn
declare noalias i8* @_Znwm(i64)
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, i1) nounwind
declare void @...
2012 May 22
0
[LLVMdev] How to get llvm bitcode executed
...lare i32 @memcmp(i8*, i8*, i64)
> declare i64 @llvm.expect.i64(i64, i64) nounwind readnone
> declare void @_ZSt19__throw_logic_errorPKc(i8*) noreturn
> declare i8* @__cxa_begin_catch(i8*)
> declare void @__cxa_rethrow()
> declare void @__cxa_end_catch()
> declare void @__cxa_call_unexpected(i8*)
> declare void @_ZdlPv(i8*) nounwind
> declare void @_ZSt20__throw_length_errorPKc(i8*) noreturn
> declare void @_ZSt17__throw_bad_allocv() noreturn
> declare noalias i8* @_Znwm(i64)
> declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i32, i1)...
2012 May 22
2
[LLVMdev] How to get llvm bitcode executed
....i64(i64, i64) nounwind readnone
>
> LLVM intrinsic.
>
> > declare void @_ZSt19__throw_logic_errorPKc(i8*) noreturn
> > declare i8* @__cxa_begin_catch(i8*)
> > declare void @__cxa_rethrow()
> > declare void @__cxa_end_catch()
> > declare void @__cxa_call_unexpected(i8*)
> > declare void @_ZdlPv(i8*) nounwind
> > declare void @_ZSt20__throw_length_errorPKc(i8*) noreturn
> > declare void @_ZSt17__throw_bad_allocv() noreturn
> > declare noalias i8* @_Znwm(i64)
>
> These should all be in libstdc++.
>
> > dec...
2012 May 22
0
[LLVMdev] How to get llvm bitcode executed
...tdc++.
> declare i64 @llvm.expect.i64(i64, i64) nounwind readnone
LLVM intrinsic.
> declare void @_ZSt19__throw_logic_errorPKc(i8*) noreturn
> declare i8* @__cxa_begin_catch(i8*)
> declare void @__cxa_rethrow()
> declare void @__cxa_end_catch()
> declare void @__cxa_call_unexpected(i8*)
> declare void @_ZdlPv(i8*) nounwind
> declare void @_ZSt20__throw_length_errorPKc(i8*) noreturn
> declare void @_ZSt17__throw_bad_allocv() noreturn
> declare noalias i8* @_Znwm(i64)
These should all be in libstdc++.
> declare void @llvm.memcpy.p0i8.p0i8.i64(i8*...
2015 Feb 02
4
[LLVMdev] Compiling via bitcode on Windows
...CEPTIONS=0 -fms-compatibility
-fms-extensions, I get errors:
main-621e97.o : error LNK2019: unresolved external symbol _Unwind_Resume
referenced in function main
main-621e97.o : error LNK2001: unresolved external symbol
__gxx_personality_v0
main-621e97.o : error LNK2019: unresolved external symbol
__cxa_call_unexpected referenced in function "public: class
std::_Vector_iterator<class std::_Vector_val<struct
std::_Simple_types<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > > > > __cdecl
std::vector<class std::basic_string<char,...
2012 May 23
0
[LLVMdev] How to get llvm bitcode executed
...ne
>>
>> LLVM intrinsic.
>>
>>> declare void @_ZSt19__throw_logic_errorPKc(i8*) noreturn
>>> declare i8* @__cxa_begin_catch(i8*)
>>> declare void @__cxa_rethrow()
>>> declare void @__cxa_end_catch()
>>> declare void @__cxa_call_unexpected(i8*)
>>> declare void @_ZdlPv(i8*) nounwind
>>> declare void @_ZSt20__throw_length_errorPKc(i8*) noreturn
>>> declare void @_ZSt17__throw_bad_allocv() noreturn
>>> declare noalias i8* @_Znwm(i64)
>>
>> These should all be in libstdc++....
2014 Mar 21
2
[LLVMdev] Unwind, exception handling, debuggers and profilers
On 21 March 2014 18:47, Logan Chien <tzuhsiang.chien at gmail.com> wrote:
> * There's the table for ARM target:
>
> - no attribute => emit unwind table
> - with nounwind => emit unwind table with cantunwind
> - with uwtable => emit unwind table
> - with uwtable+nounwind => emit unwind table WITHOUT the cantunwind
>
> The cantunwind record will stop the
2011 Jul 23
0
[LLVMdev] RFC: Exception Handling Rewrite
...> br i1 %tmp7, label %invoke.cont20, label %eh.next1
>
> eh.next1:
> %ehspec.fails = icmp slt i32 %sel, 0
> br i1 %ehspec.fails, label %ehspec.unexpected, label %eh.resume
>
> eh.resume:
> resume { i8*, i32 } %exn.val
>
> ehspec.unexpected:
> tail call void @__cxa_call_unexpected(i8* %exn) noreturn
> unreachable
> }
>
>
> 2) An example of inlining:
>
> void qux();
>
> void bar() __attribute__((always_inline));
> void bar() {
> try {
> qux();
> } catch (char c) {
> printf("caught char %c\n", c);
> }
> }...
2011 Jul 23
14
[LLVMdev] RFC: Exception Handling Rewrite
...i8*)) nounwind
%tmp7 = icmp eq i32 %sel, %tmp6
br i1 %tmp7, label %invoke.cont20, label %eh.next1
eh.next1:
%ehspec.fails = icmp slt i32 %sel, 0
br i1 %ehspec.fails, label %ehspec.unexpected, label %eh.resume
eh.resume:
resume { i8*, i32 } %exn.val
ehspec.unexpected:
tail call void @__cxa_call_unexpected(i8* %exn) noreturn
unreachable
}
2) An example of inlining:
void qux();
void bar() __attribute__((always_inline));
void bar() {
try {
qux();
} catch (char c) {
printf("caught char %c\n", c);
}
}
void foo() throw (const char *) {
try {
bar();
} catch (int i) {...