File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222/* extern "C" void *__cxa_allocate_exception(size_t thrown_size){
2323 void * retval;
2424
25- /* The amount of data needed is the size of the object *PLUS*
26- the size of the header. The header is of struct __cxa_exception
27- The address needs to be adjusted because the pointer we return
28- should not point to the start of the memory, but to the point
29- where the object being thrown actually starts
25+ // The amount of data needed is the size of the object *PLUS*
26+ // the size of the header. The header is of struct __cxa_exception
27+ // The address needs to be adjusted because the pointer we return
28+ // should not point to the start of the memory, but to the point
29+ // where the object being thrown actually starts
3030
3131 retval = malloc(thrown_size + sizeof(__cxa_exception));
3232
You can’t perform that action at this time.
0 commit comments