search for: ___cxa_allocate_exception

Displaying 3 results from an estimated 3 matches for "___cxa_allocate_exception".

2012 May 01
1
[LLVMdev] Linking C++ on Windows
...external symbol __ZNSt6_Mutex7_UnlockEv referenced in function __ZNSt15basic_streambufIcSt11char_traitsIcEE7_UnlockEv hello-066049.o : error LNK2019: unresolved external symbol ___cxa_rethrow referenced in function __ZNSt8ios_base5clearEib hello-066049.o : error LNK2019: unresolved external symbol ___cxa_allocate_exception referenced in function __ZNSt8ios_base5clearEib hello-066049.o : error LNK2019: unresolved external symbol ___cxa_throw referenced in function __ZNSt8ios_base5clearEib hello-066049.o : error LNK2019: unresolved external symbol __ZdlPv referenced in function __ZNSaIcE10deallocateEPcj hello-066049.o...
2010 Nov 25
0
[LLVMdev] RFC: Exception Handling Proposal II
...r() { try { A a; foo(); } catch (const char *c) { printf("hello world! %s\n", c); } } The cleanup part for the "foo" call has this: L24: # basic block 4 L3: movl %edx, %ebx movq %rax, %r13 movl $4, %edi call ___cxa_allocate_exception movq %rax, %rdi movl $0, (%rax) movq __ZTIi at GOTPCREL(%rip), %rsi xorl %edx, %edx LEHB2: call ___cxa_throw LEHE2: edx and rax hold the EH selector value and EH object pointer respectively. They get restored before continuing on to the catch...
2010 Nov 25
3
[LLVMdev] RFC: Exception Handling Proposal II
On Nov 24, 2010, at 9:01 PM, Bill Wendling wrote: > On Nov 24, 2010, at 6:41 PM, John McCall wrote: >> What you mean is that, given a resume or invoke edge, we need to be able to find the dispatch for the target region. There are ways to make that happen without tagged edges; for example, you could make the landing pad a special subclass of BasicBlock with a pointer to the dispatch,