Howard Hinnant | 7123bcb | 2011-07-14 20:16:50 +0000 | [diff] [blame^] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 | "http://www.w3.org/TR/html4/strict.dtd"> |
| 3 | <html> |
| 4 | <head> |
| 5 | <title>libc++abi spec</title> |
| 6 | </head> |
| 7 | <body> |
| 8 | |
| 9 | <table border=1> |
| 10 | <tr> |
| 11 | <th rowspan=2>libc++abi Specification</th> |
| 12 | <th colspan=3>Completed ?</th> |
| 13 | </tr> |
| 14 | |
| 15 | <tr> |
| 16 | <th>dawin</th><th>linux</th><th>arm</th> |
| 17 | </tr> |
| 18 | |
| 19 | <tr> |
| 20 | <td colspan=4 align="center">Memory management</td> |
| 21 | </tr> |
| 22 | |
| 23 | <tr> |
| 24 | <td> |
| 25 | <p> |
| 26 | <code>void* __cxa_allocate_exception(size_t thrown_size) throw();</code> |
| 27 | </p> |
| 28 | <blockquote> |
| 29 | <p> |
| 30 | <i>Effects:</i> Allocates <tt>thrown_size</tt> bytes of memory. If memory |
| 31 | can not be allocated, call <tt>std::terminate()</tt>. |
| 32 | </p> |
| 33 | <p> |
| 34 | <i>Returns:</i> A pointer to the allocated memory. |
| 35 | </p> |
| 36 | </blockquote> |
| 37 | </td> |
| 38 | <td></td> |
| 39 | <td></td> |
| 40 | <td></td> |
| 41 | </tr> |
| 42 | |
| 43 | <tr> |
| 44 | <td> |
| 45 | <p> |
| 46 | <code>void __cxa_free_exception(void * thrown_exception) throw();</code> |
| 47 | </p> |
| 48 | <blockquote> |
| 49 | <p> |
| 50 | <i>Effects:</i> Deallocates the memory pointed to. |
| 51 | </p> |
| 52 | </blockquote> |
| 53 | </td> |
| 54 | <td></td> |
| 55 | <td></td> |
| 56 | <td></td> |
| 57 | </tr> |
| 58 | |
| 59 | <tr> |
| 60 | <td colspan=4 align="center">Exception Handling</td> |
| 61 | </tr> |
| 62 | |
| 63 | <tr> |
| 64 | <td> |
| 65 | <p> |
| 66 | <code>void __cxa_throw(void* thrown_exception, struct std::type_info * tinfo, |
| 67 | void (*dest)(void*));</code> |
| 68 | </p> |
| 69 | <blockquote> |
| 70 | <p> |
| 71 | <i>Effects:</i> |
| 72 | </p> |
| 73 | </blockquote> |
| 74 | </td> |
| 75 | <td></td> |
| 76 | <td></td> |
| 77 | <td></td> |
| 78 | </tr> |
| 79 | |
| 80 | <tr> |
| 81 | <td> |
| 82 | <p> |
| 83 | <code>void* __cxa_get_exception_ptr(void* exceptionObject) throw();</code> |
| 84 | </p> |
| 85 | <blockquote> |
| 86 | <p> |
| 87 | <i>Returns:</i> The adjusted pointer to the exception object. (The adjusted |
| 88 | pointer is typically computed by the personality routine during phase 1 and |
| 89 | saved in the exception object.) |
| 90 | </p> |
| 91 | </blockquote> |
| 92 | </td> |
| 93 | <td></td> |
| 94 | <td></td> |
| 95 | <td></td> |
| 96 | </tr> |
| 97 | |
| 98 | <tr> |
| 99 | <td> |
| 100 | <p> |
| 101 | <code>void* __cxa_begin_catch(void* exceptionObject) throw();</code> |
| 102 | </p> |
| 103 | <blockquote> |
| 104 | <p> |
| 105 | <i>Effects:</i> |
| 106 | </p> |
| 107 | <ul> |
| 108 | <li>Increment's the exception's handler count.</li> |
| 109 | <li>Places the exception on the stack of currently-caught exceptions if it is |
| 110 | not already there, linking the exception to the previous top of the stack.</li> |
| 111 | <li>Decrements the uncaught_exception count.</li> |
| 112 | </ul> |
| 113 | <p> |
| 114 | If the initialization of the catch parameter is trivial (e,g., there is no |
| 115 | formal catch parameter, or the parameter has no copy constructor), the calls to |
| 116 | <tt>__cxa_get_exception_ptr()</tt> and <tt>__cxa_begin_catch()</tt> may be |
| 117 | combined into a single call to <tt>__cxa_begin_catch()</tt>. |
| 118 | </p> |
| 119 | <p> |
| 120 | When the personality routine encounters a termination condition, it will call |
| 121 | <tt>__cxa_begin_catch()</tt> to mark the exception as handled and then call |
| 122 | <tt>terminate()</tt>, which shall not return to its caller. |
| 123 | </p> |
| 124 | <p> |
| 125 | <i>Returns:</i> The adjusted pointer to the exception object. |
| 126 | </p> |
| 127 | </blockquote> |
| 128 | </td> |
| 129 | <td></td> |
| 130 | <td></td> |
| 131 | <td></td> |
| 132 | </tr> |
| 133 | |
| 134 | <tr> |
| 135 | <td> |
| 136 | <p> |
| 137 | <code>void __cxa_end_catch();</code> |
| 138 | </p> |
| 139 | <blockquote> |
| 140 | <p> |
| 141 | <i>Effects:</i> Locates the most recently caught exception and decrements its |
| 142 | handler count. Removes the exception from the caughtÓexception stack, if the |
| 143 | handler count goes to zero. Destroys the exception if the handler count goes to |
| 144 | zero, and the exception was not re-thrown by throw. Collaboration between |
| 145 | __cxa_rethrow() and __cxa_end_catch() is necessary to handle the last point. |
| 146 | Though implementation-defined, one possibility is for __cxa_rethrow() to set a |
| 147 | flag in the handlerCount member of the exception header to mark an exception |
| 148 | being rethrown. |
| 149 | </p> |
| 150 | </blockquote> |
| 151 | </td> |
| 152 | <td></td> |
| 153 | <td></td> |
| 154 | <td></td> |
| 155 | </tr> |
| 156 | |
| 157 | <tr> |
| 158 | <td> |
| 159 | <p> |
| 160 | <code>std::type_info* __cxa_current_exception_type();</code> |
| 161 | </p> |
| 162 | <blockquote> |
| 163 | <p> |
| 164 | <i>Returns:</i> the type of the currently handled exception, or null if there |
| 165 | are no caught exceptions. |
| 166 | </p> |
| 167 | </blockquote> |
| 168 | </td> |
| 169 | <td></td> |
| 170 | <td></td> |
| 171 | <td></td> |
| 172 | </tr> |
| 173 | |
| 174 | <tr> |
| 175 | <td> |
| 176 | <p> |
| 177 | <code>void __cxa_rethrow();</code> |
| 178 | </p> |
| 179 | <blockquote> |
| 180 | <p> |
| 181 | <i>Effects:</i> Marks the exception object on top of the caughtExceptions stack |
| 182 | (in an implementation-defined way) as being rethrown. If the caughtExceptions |
| 183 | stack is empty, it calls terminate() (see [C++FDIS] [except.throw], 15.1.8). It |
| 184 | then returns to the handler that called it, which must call __cxa_end_catch(), |
| 185 | perform any necessary cleanup, and finally call _Unwind_Resume() to continue |
| 186 | unwinding. |
| 187 | </p> |
| 188 | </blockquote> |
| 189 | </td> |
| 190 | <td></td> |
| 191 | <td></td> |
| 192 | <td></td> |
| 193 | </tr> |
| 194 | |
| 195 | <tr> |
| 196 | <td> |
| 197 | <p> |
| 198 | <code>void* __cxa_current_primary_exception() throw();</code> |
| 199 | </p> |
| 200 | <blockquote> |
| 201 | <p> |
| 202 | <i>Effects:</i> Increments the ownership count of the currently handled |
| 203 | exception (if any) by one. |
| 204 | </p> |
| 205 | <p> |
| 206 | <i>Returns:</i> the type of the currently handled exception, or null if there |
| 207 | are no caught exceptions. |
| 208 | </p> |
| 209 | </blockquote> |
| 210 | </td> |
| 211 | <td></td> |
| 212 | <td></td> |
| 213 | <td></td> |
| 214 | </tr> |
| 215 | |
| 216 | <tr> |
| 217 | <td> |
| 218 | <p> |
| 219 | <code>void __cxa_decrement_exception_refcount(void* primary_exception) throw();</code> |
| 220 | </p> |
| 221 | <blockquote> |
| 222 | <p> |
| 223 | <i>Effects:</i> Decrements the ownership count of the exception by 1, and on |
| 224 | zero calls <tt>_Unwind_DeleteException</tt> with the exception object. |
| 225 | </p> |
| 226 | </blockquote> |
| 227 | </td> |
| 228 | <td></td> |
| 229 | <td></td> |
| 230 | <td></td> |
| 231 | </tr> |
| 232 | |
| 233 | <tr> |
| 234 | <td> |
| 235 | <p> |
| 236 | <code>__cxa_eh_globals* __cxa_get_globals() throw();</code> |
| 237 | </p> |
| 238 | <blockquote> |
| 239 | <p> |
| 240 | <i>Returns:</i> A pointer to the __cxa_eh_globals structure for the current |
| 241 | thread, initializing it if necessary. |
| 242 | </p> |
| 243 | </blockquote> |
| 244 | </td> |
| 245 | <td></td> |
| 246 | <td></td> |
| 247 | <td></td> |
| 248 | </tr> |
| 249 | |
| 250 | <tr> |
| 251 | <td> |
| 252 | <p> |
| 253 | <code>__cxa_eh_globals* __cxa_get_globals_fast() throw();</code> |
| 254 | </p> |
| 255 | <blockquote> |
| 256 | <p> |
| 257 | <i>Requires:</i> At least one prior call to __cxa_get_globals has been made from |
| 258 | the current thread. |
| 259 | </p> |
| 260 | <p> |
| 261 | <i>Returns:</i> A pointer to the __cxa_eh_globals structure for the current |
| 262 | thread. |
| 263 | </p> |
| 264 | </blockquote> |
| 265 | </td> |
| 266 | <td></td> |
| 267 | <td></td> |
| 268 | <td></td> |
| 269 | </tr> |
| 270 | |
| 271 | <tr> |
| 272 | <td> |
| 273 | <p> |
| 274 | <code>void __cxa_increment_exception_refcount(void* primary_exception) throw();</code> |
| 275 | </p> |
| 276 | <blockquote> |
| 277 | <p> |
| 278 | <i>Effects:</i> Increments the ownership count of the referenced exception. |
| 279 | </p> |
| 280 | </blockquote> |
| 281 | </td> |
| 282 | <td></td> |
| 283 | <td></td> |
| 284 | <td></td> |
| 285 | </tr> |
| 286 | |
| 287 | <tr> |
| 288 | <td> |
| 289 | <p> |
| 290 | <code>void __cxa_rethrow_primary_exception(void* primary_exception);</code> |
| 291 | </p> |
| 292 | <blockquote> |
| 293 | <p> |
| 294 | <i>Effects:</i> Implements <tt>std::rethrow_exception(exception_ptr p)</tt>. |
| 295 | </p> |
| 296 | </blockquote> |
| 297 | </td> |
| 298 | <td></td> |
| 299 | <td></td> |
| 300 | <td></td> |
| 301 | </tr> |
| 302 | |
| 303 | <tr> |
| 304 | <td> |
| 305 | <p> |
| 306 | <code>bool __cxa_uncaught_exception() throw();</code> |
| 307 | </p> |
| 308 | <blockquote> |
| 309 | <p> |
| 310 | <i>Effects:</i> |
| 311 | </p> |
| 312 | <p> |
| 313 | <i>Returns:</i> |
| 314 | </p> |
| 315 | </blockquote> |
| 316 | </td> |
| 317 | <td></td> |
| 318 | <td></td> |
| 319 | <td></td> |
| 320 | </tr> |
| 321 | |
| 322 | <tr> |
| 323 | <td> |
| 324 | <p> |
| 325 | <code>_Unwind_Reason_Code __gxx_personality_v0 |
| 326 | (int, _Unwind_Action, _Unwind_Exception_Class, |
| 327 | struct _Unwind_Exception *, struct _Unwind_Context *);</code> |
| 328 | </p> |
| 329 | <blockquote> |
| 330 | <p> |
| 331 | <i>Effects:</i> |
| 332 | </p> |
| 333 | <p> |
| 334 | <i>Returns:</i> |
| 335 | </p> |
| 336 | </blockquote> |
| 337 | </td> |
| 338 | <td></td> |
| 339 | <td></td> |
| 340 | <td></td> |
| 341 | </tr> |
| 342 | |
| 343 | <tr> |
| 344 | <td colspan=4 align="center">Guard objects</td> |
| 345 | </tr> |
| 346 | |
| 347 | <tr> |
| 348 | <td> |
| 349 | <p> |
| 350 | <code>int __cxa_guard_acquire(uint64_t* guard_object);</code> |
| 351 | </p> |
| 352 | <blockquote> |
| 353 | <p> |
| 354 | <i>Effects:</i> This function is called before initialization takes place. If |
| 355 | this function returns 1, either <code>__cxa_guard_release</code> or |
| 356 | <code>__cxa_guard_abort</code> must be called with the same argument. The first |
| 357 | byte of the <code>guard_object</code> is not modified by this function. |
| 358 | </p> |
| 359 | <p> |
| 360 | On Darwin the implementation checks for deadlock. |
| 361 | </p> |
| 362 | <p> |
| 363 | <i>Returns:</i> 1 if the initialization is not yet complete, otherwise 0. |
| 364 | </p> |
| 365 | </blockquote> |
| 366 | </td> |
| 367 | <td>✓</td> |
| 368 | <td>✓</td> |
| 369 | <td>✓</td> |
| 370 | </tr> |
| 371 | |
| 372 | <tr> |
| 373 | <td> |
| 374 | <p> |
| 375 | <code>void __cxa_guard_release(uint64_t*);</code> |
| 376 | </p> |
| 377 | <blockquote> |
| 378 | <p> |
| 379 | <i>Effects:</i> Sets the first byte of the guard object to a non-zero value. |
| 380 | This function is called after initialization is complete. A thread-safe |
| 381 | implementation will release the mutex acquired by __cxa_guard_acquire after |
| 382 | setting the first byte of the guard object. |
| 383 | </p> |
| 384 | </blockquote> |
| 385 | </td> |
| 386 | <td></td> |
| 387 | <td></td> |
| 388 | <td></td> |
| 389 | </tr> |
| 390 | |
| 391 | <tr> |
| 392 | <td> |
| 393 | <p> |
| 394 | <code>void __cxa_guard_abort(uint64_t*);</code> |
| 395 | </p> |
| 396 | <blockquote> |
| 397 | <p> |
| 398 | <i>Effects:</i> This function is called if the initialization terminates by |
| 399 | throwing an exception. |
| 400 | </p> |
| 401 | </blockquote> |
| 402 | </td> |
| 403 | <td></td> |
| 404 | <td></td> |
| 405 | <td></td> |
| 406 | </tr> |
| 407 | |
| 408 | <tr> |
| 409 | <td colspan=4 align="center">Vector construction and destruction</td> |
| 410 | </tr> |
| 411 | |
| 412 | <tr> |
| 413 | <td> |
| 414 | <p> |
| 415 | <code>void* __cxa_vec_new(size_t element_count, |
| 416 | size_t element_size, |
| 417 | size_t padding_size, |
| 418 | void (*constructor)(void*), |
| 419 | void (*destructor)(void*) );</code> |
| 420 | </p> |
| 421 | <blockquote> |
| 422 | <p> |
| 423 | <i>Effects:</i> |
| 424 | </p> |
| 425 | <p> |
| 426 | <i>Returns:</i> |
| 427 | </p> |
| 428 | </blockquote> |
| 429 | </td> |
| 430 | <td></td> |
| 431 | <td></td> |
| 432 | <td></td> |
| 433 | </tr> |
| 434 | |
| 435 | <tr> |
| 436 | <td> |
| 437 | <p> |
| 438 | <code>void* __cxa_vec_new2(size_t element_count, |
| 439 | size_t element_size, |
| 440 | size_t padding_size, |
| 441 | void (*constructor)(void*), |
| 442 | void (*destructor)(void*), |
| 443 | void* (*alloc)(size_t), |
| 444 | void (*dealloc)(void*) );</code> |
| 445 | </p> |
| 446 | <blockquote> |
| 447 | <p> |
| 448 | <i>Effects:</i> |
| 449 | </p> |
| 450 | <p> |
| 451 | <i>Returns:</i> |
| 452 | </p> |
| 453 | </blockquote> |
| 454 | </td> |
| 455 | <td></td> |
| 456 | <td></td> |
| 457 | <td></td> |
| 458 | </tr> |
| 459 | |
| 460 | <tr> |
| 461 | <td> |
| 462 | <p> |
| 463 | <code>void* __cxa_vec_new3(size_t element_count, |
| 464 | size_t element_size, |
| 465 | size_t padding_size, |
| 466 | void (*constructor)(void*), |
| 467 | void (*destructor)(void*), |
| 468 | void* (*alloc)(size_t), |
| 469 | void (*dealloc)(void*, size_t) );</code> |
| 470 | </p> |
| 471 | <blockquote> |
| 472 | <p> |
| 473 | <i>Effects:</i> |
| 474 | </p> |
| 475 | <p> |
| 476 | <i>Returns:</i> |
| 477 | </p> |
| 478 | </blockquote> |
| 479 | </td> |
| 480 | <td></td> |
| 481 | <td></td> |
| 482 | <td></td> |
| 483 | </tr> |
| 484 | |
| 485 | <tr> |
| 486 | <td> |
| 487 | <p> |
| 488 | <code>void __cxa_vec_ctor(void* array_address, |
| 489 | size_t element_count, |
| 490 | size_t element_size, |
| 491 | void (*constructor)(void*), |
| 492 | void (*destructor)(void*) );</code> |
| 493 | </p> |
| 494 | <blockquote> |
| 495 | <p> |
| 496 | <i>Effects:</i> |
| 497 | </p> |
| 498 | </blockquote> |
| 499 | </td> |
| 500 | <td></td> |
| 501 | <td></td> |
| 502 | <td></td> |
| 503 | </tr> |
| 504 | |
| 505 | <tr> |
| 506 | <td> |
| 507 | <p> |
| 508 | <code>void __cxa_vec_dtor(void* array_address, |
| 509 | size_t element_count, |
| 510 | size_t element_size, |
| 511 | void (*destructor)(void*) );</code> |
| 512 | </p> |
| 513 | <blockquote> |
| 514 | <p> |
| 515 | <i>Effects:</i> |
| 516 | </p> |
| 517 | </blockquote> |
| 518 | </td> |
| 519 | <td></td> |
| 520 | <td></td> |
| 521 | <td></td> |
| 522 | </tr> |
| 523 | |
| 524 | <tr> |
| 525 | <td> |
| 526 | <p> |
| 527 | <code>void __cxa_vec_cleanup(void* array_address, |
| 528 | size_t element_count, |
| 529 | size_t element_size, |
| 530 | void (*destructor)(void*) );</code> |
| 531 | </p> |
| 532 | <blockquote> |
| 533 | <p> |
| 534 | <i>Effects:</i> |
| 535 | </p> |
| 536 | </blockquote> |
| 537 | </td> |
| 538 | <td></td> |
| 539 | <td></td> |
| 540 | <td></td> |
| 541 | </tr> |
| 542 | |
| 543 | <tr> |
| 544 | <td> |
| 545 | <p> |
| 546 | <code>void __cxa_vec_delete(void* array_address, |
| 547 | size_t element_size, |
| 548 | size_t padding_size, |
| 549 | void (*destructor)(void*) );</code> |
| 550 | </p> |
| 551 | <blockquote> |
| 552 | <p> |
| 553 | <i>Effects:</i> |
| 554 | </p> |
| 555 | </blockquote> |
| 556 | </td> |
| 557 | <td></td> |
| 558 | <td></td> |
| 559 | <td></td> |
| 560 | </tr> |
| 561 | |
| 562 | <tr> |
| 563 | <td> |
| 564 | <p> |
| 565 | <code>void __cxa_vec_delete2(void* array_address, |
| 566 | size_t element_size, |
| 567 | size_t padding_size, |
| 568 | void (*destructor)(void*), |
| 569 | void (*dealloc)(void*) );</code> |
| 570 | </p> |
| 571 | <blockquote> |
| 572 | <p> |
| 573 | <i>Effects:</i> |
| 574 | </p> |
| 575 | </blockquote> |
| 576 | </td> |
| 577 | <td></td> |
| 578 | <td></td> |
| 579 | <td></td> |
| 580 | </tr> |
| 581 | |
| 582 | <tr> |
| 583 | <td> |
| 584 | <p> |
| 585 | <code>void __cxa_vec_delete3(void* __array_address, |
| 586 | size_t element_size, |
| 587 | size_t padding_size, |
| 588 | void (*destructor)(void*), |
| 589 | void (*dealloc) (void*, size_t));</code> |
| 590 | </p> |
| 591 | <blockquote> |
| 592 | <p> |
| 593 | <i>Effects:</i> |
| 594 | </p> |
| 595 | </blockquote> |
| 596 | </td> |
| 597 | <td></td> |
| 598 | <td></td> |
| 599 | <td></td> |
| 600 | </tr> |
| 601 | |
| 602 | <tr> |
| 603 | <td> |
| 604 | <p> |
| 605 | <code>void __cxa_vec_cctor(void* dest_array, |
| 606 | void* src_array, |
| 607 | size_t element_count, |
| 608 | size_t element_size, |
| 609 | void (*constructor) (void*, void*), |
| 610 | void (*destructor)(void*) );</code> |
| 611 | </p> |
| 612 | <blockquote> |
| 613 | <p> |
| 614 | <i>Effects:</i> |
| 615 | </p> |
| 616 | </blockquote> |
| 617 | </td> |
| 618 | <td></td> |
| 619 | <td></td> |
| 620 | <td></td> |
| 621 | </tr> |
| 622 | |
| 623 | <tr> |
| 624 | <td colspan=4 align="center">Handlers</td> |
| 625 | </tr> |
| 626 | |
| 627 | <tr> |
| 628 | <td> |
| 629 | <p> |
| 630 | <code>void (*__cxa_new_handler)();</code> |
| 631 | </p> |
| 632 | <blockquote> |
| 633 | <p> |
| 634 | The currently installed new handler. |
| 635 | </p> |
| 636 | </blockquote> |
| 637 | </td> |
| 638 | <td></td> |
| 639 | <td></td> |
| 640 | <td></td> |
| 641 | </tr> |
| 642 | |
| 643 | <tr> |
| 644 | <td> |
| 645 | <p> |
| 646 | <code>void (*__cxa_terminate_handler)();</code> |
| 647 | </p> |
| 648 | <blockquote> |
| 649 | <p> |
| 650 | The currently installed terminate handler. |
| 651 | </p> |
| 652 | </blockquote> |
| 653 | </td> |
| 654 | <td></td> |
| 655 | <td></td> |
| 656 | <td></td> |
| 657 | </tr> |
| 658 | |
| 659 | <tr> |
| 660 | <td> |
| 661 | <p> |
| 662 | <code>void (*__cxa_unexpected_handler)();</code> |
| 663 | </p> |
| 664 | <blockquote> |
| 665 | <p> |
| 666 | <i>Effects:</i> |
| 667 | </p> |
| 668 | </blockquote> |
| 669 | </td> |
| 670 | <td></td> |
| 671 | <td></td> |
| 672 | <td></td> |
| 673 | </tr> |
| 674 | |
| 675 | |
| 676 | |
| 677 | <tr> |
| 678 | <td colspan=4 align="center">Utilities</td> |
| 679 | </tr> |
| 680 | |
| 681 | <tr> |
| 682 | <td> |
| 683 | <p> |
| 684 | <code>[[noreturn]] void __cxa_bad_cast()</code> |
| 685 | </p> |
| 686 | <blockquote> |
| 687 | <p> |
| 688 | <i>Effects:</i> Throws an exception of type <tt>bad_cast</tt>. |
| 689 | </p> |
| 690 | </blockquote> |
| 691 | </td> |
| 692 | <td></td> |
| 693 | <td></td> |
| 694 | <td></td> |
| 695 | </tr> |
| 696 | |
| 697 | <tr> |
| 698 | <td> |
| 699 | <p> |
| 700 | <code>[[noreturn]] void __cxa_bad_typeid();</code> |
| 701 | </p> |
| 702 | <blockquote> |
| 703 | <p> |
| 704 | <i>Effects:</i> Throws an exception of type <tt>bad_typeid</tt>. |
| 705 | </p> |
| 706 | </blockquote> |
| 707 | </td> |
| 708 | <td></td> |
| 709 | <td></td> |
| 710 | <td></td> |
| 711 | </tr> |
| 712 | |
| 713 | <tr> |
| 714 | <td> |
| 715 | <p> |
| 716 | <code>void __cxa_pure_virtual(void);</code> |
| 717 | </p> |
| 718 | <blockquote> |
| 719 | <p> |
| 720 | <i>Effects:</i> Called if the user calls a non-overridden pure virtual function, |
| 721 | which has undefined behavior according to the C++ Standard. Ends the program. |
| 722 | </p> |
| 723 | </blockquote> |
| 724 | </td> |
| 725 | <td></td> |
| 726 | <td></td> |
| 727 | <td></td> |
| 728 | </tr> |
| 729 | |
| 730 | <tr> |
| 731 | <td> |
| 732 | <p> |
| 733 | <code>void __cxa_call_unexpected (void*) __attribute__((noreturn));</code> |
| 734 | </p> |
| 735 | <blockquote> |
| 736 | <p> |
| 737 | <i>Effects:</i> Handles re-checking the exception specification if |
| 738 | unexpectedHandler throws, and if <tt>bad_exception</tt> needs to be thrown. |
| 739 | Called from the compiler. |
| 740 | </p> |
| 741 | </blockquote> |
| 742 | </td> |
| 743 | <td></td> |
| 744 | <td></td> |
| 745 | <td></td> |
| 746 | </tr> |
| 747 | |
| 748 | <tr> |
| 749 | <td> |
| 750 | <p> |
| 751 | <code>char* __cxa_demangle(const char* mangled_name, |
| 752 | char* output_buffer, |
| 753 | size_t* length, |
| 754 | int* status);</code> |
| 755 | </p> |
| 756 | <blockquote> |
| 757 | <p> |
| 758 | <i>Effects:</i> |
| 759 | </p> |
| 760 | <p> |
| 761 | <i>Returns:</i> |
| 762 | </p> |
| 763 | </blockquote> |
| 764 | </td> |
| 765 | <td></td> |
| 766 | <td></td> |
| 767 | <td></td> |
| 768 | </tr> |
| 769 | |
| 770 | <tr> |
| 771 | <td> |
| 772 | <p> |
| 773 | <code>void* |
| 774 | __dynamic_cast(const void* __src_ptr, |
| 775 | const __class_type_info* __src_type, |
| 776 | const __class_type_info* __dst_type, |
| 777 | ptrdiff_t __src2dst);</code> |
| 778 | </p> |
| 779 | <blockquote> |
| 780 | <p> |
| 781 | <i>Effects:</i> |
| 782 | </p> |
| 783 | <p> |
| 784 | <i>Returns:</i> |
| 785 | </p> |
| 786 | </blockquote> |
| 787 | </td> |
| 788 | <td></td> |
| 789 | <td></td> |
| 790 | <td></td> |
| 791 | </tr> |
| 792 | |
| 793 | </table> |
| 794 | |
| 795 | <!-- |
| 796 | 000000000000d570 (__DATA,__const) external typeinfo for char32_t |
| 797 | 000000000000cfd0 (__DATA,__const) external typeinfo for std::nullptr_t |
| 798 | 000000000000d520 (__DATA,__const) external typeinfo for char16_t |
| 799 | 000000000000d580 (__DATA,__const) external typeinfo for char32_t* |
| 800 | 000000000000cfe0 (__DATA,__const) external typeinfo for std::nullptr_t* |
| 801 | 000000000000d530 (__DATA,__const) external typeinfo for char16_t* |
| 802 | 000000000000d5a0 (__DATA,__const) external typeinfo for char32_t const* |
| 803 | 000000000000d000 (__DATA,__const) external typeinfo for std::nullptr_t const* |
| 804 | 000000000000d550 (__DATA,__const) external typeinfo for char16_t const* |
| 805 | 000000000000d190 (__DATA,__const) external typeinfo for signed char const* |
| 806 | 000000000000d050 (__DATA,__const) external typeinfo for bool const* |
| 807 | 000000000000d0f0 (__DATA,__const) external typeinfo for char const* |
| 808 | 000000000000d4b0 (__DATA,__const) external typeinfo for double const* |
| 809 | 000000000000d500 (__DATA,__const) external typeinfo for long double const* |
| 810 | 000000000000d460 (__DATA,__const) external typeinfo for float const* |
| 811 | 000000000000d140 (__DATA,__const) external typeinfo for unsigned char const* |
| 812 | 000000000000d280 (__DATA,__const) external typeinfo for int const* |
| 813 | 000000000000d2d0 (__DATA,__const) external typeinfo for unsigned int const* |
| 814 | 000000000000d320 (__DATA,__const) external typeinfo for long const* |
| 815 | 000000000000d370 (__DATA,__const) external typeinfo for unsigned long const* |
| 816 | 000000000000d1e0 (__DATA,__const) external typeinfo for short const* |
| 817 | 000000000000d230 (__DATA,__const) external typeinfo for unsigned short const* |
| 818 | 000000000000cfb0 (__DATA,__const) external typeinfo for void const* |
| 819 | 000000000000d0a0 (__DATA,__const) external typeinfo for wchar_t const* |
| 820 | 000000000000d3c0 (__DATA,__const) external typeinfo for long long const* |
| 821 | 000000000000d410 (__DATA,__const) external typeinfo for unsigned long long const* |
| 822 | 000000000000d170 (__DATA,__const) external typeinfo for signed char* |
| 823 | 000000000000d030 (__DATA,__const) external typeinfo for bool* |
| 824 | 000000000000d0d0 (__DATA,__const) external typeinfo for char* |
| 825 | 000000000000d490 (__DATA,__const) external typeinfo for double* |
| 826 | 000000000000d4e0 (__DATA,__const) external typeinfo for long double* |
| 827 | 000000000000d440 (__DATA,__const) external typeinfo for float* |
| 828 | 000000000000d120 (__DATA,__const) external typeinfo for unsigned char* |
| 829 | 000000000000d260 (__DATA,__const) external typeinfo for int* |
| 830 | 000000000000d2b0 (__DATA,__const) external typeinfo for unsigned int* |
| 831 | 000000000000d300 (__DATA,__const) external typeinfo for long* |
| 832 | 000000000000d350 (__DATA,__const) external typeinfo for unsigned long* |
| 833 | 000000000000d1c0 (__DATA,__const) external typeinfo for short* |
| 834 | 000000000000d210 (__DATA,__const) external typeinfo for unsigned short* |
| 835 | 000000000000cf90 (__DATA,__const) external typeinfo for void* |
| 836 | 000000000000d080 (__DATA,__const) external typeinfo for wchar_t* |
| 837 | 000000000000d3a0 (__DATA,__const) external typeinfo for long long* |
| 838 | 000000000000d3f0 (__DATA,__const) external typeinfo for unsigned long long* |
| 839 | 000000000000d160 (__DATA,__const) external typeinfo for signed char |
| 840 | 000000000000d020 (__DATA,__const) external typeinfo for bool |
| 841 | 000000000000d0c0 (__DATA,__const) external typeinfo for char |
| 842 | 000000000000d480 (__DATA,__const) external typeinfo for double |
| 843 | 000000000000d4d0 (__DATA,__const) external typeinfo for long double |
| 844 | 000000000000d430 (__DATA,__const) external typeinfo for float |
| 845 | 000000000000d110 (__DATA,__const) external typeinfo for unsigned char |
| 846 | 000000000000d250 (__DATA,__const) external typeinfo for int |
| 847 | 000000000000d2a0 (__DATA,__const) external typeinfo for unsigned int |
| 848 | 000000000000d2f0 (__DATA,__const) external typeinfo for long |
| 849 | 000000000000d340 (__DATA,__const) external typeinfo for unsigned long |
| 850 | 000000000000d1b0 (__DATA,__const) external typeinfo for short |
| 851 | 000000000000d200 (__DATA,__const) external typeinfo for unsigned short |
| 852 | 000000000000cf78 (__DATA,__const) external typeinfo for void |
| 853 | 000000000000d070 (__DATA,__const) external typeinfo for wchar_t |
| 854 | 000000000000d390 (__DATA,__const) external typeinfo for long long |
| 855 | 000000000000d3e0 (__DATA,__const) external typeinfo for unsigned long long |
| 856 | 00000000000093f9 (__TEXT,__cstring) external typeinfo name for char32_t |
| 857 | 0000000000009351 (__TEXT,__cstring) external typeinfo name for std::nullptr_t |
| 858 | 00000000000093ed (__TEXT,__cstring) external typeinfo name for char16_t |
| 859 | 0000000000009470 (__TEXT,__cstring) external typeinfo name for __cxxabiv1::__enum_type_info |
| 860 | 0000000000009410 (__TEXT,__cstring) external typeinfo name for __cxxabiv1::__array_type_info |
| 861 | 0000000000009290 (__TEXT,__cstring) external typeinfo name for __cxxabiv1::__class_type_info |
| 862 | 00000000000094a0 (__TEXT,__cstring) external typeinfo name for __cxxabiv1::__pbase_type_info |
| 863 | 00000000000094d0 (__TEXT,__cstring) external typeinfo name for __cxxabiv1::__pointer_type_info |
| 864 | 0000000000009440 (__TEXT,__cstring) external typeinfo name for __cxxabiv1::__function_type_info |
| 865 | 00000000000092c0 (__TEXT,__cstring) external typeinfo name for __cxxabiv1::__si_class_type_info |
| 866 | 00000000000092f0 (__TEXT,__cstring) external typeinfo name for __cxxabiv1::__vmi_class_type_info |
| 867 | 0000000000009320 (__TEXT,__cstring) external typeinfo name for __cxxabiv1::__fundamental_type_info |
| 868 | 0000000000009500 (__TEXT,__cstring) external typeinfo name for __cxxabiv1::__pointer_to_member_type_info |
| 869 | 00000000000093fc (__TEXT,__cstring) external typeinfo name for char32_t* |
| 870 | 0000000000009354 (__TEXT,__cstring) external typeinfo name for std::nullptr_t* |
| 871 | 00000000000093f0 (__TEXT,__cstring) external typeinfo name for char16_t* |
| 872 | 0000000000009400 (__TEXT,__cstring) external typeinfo name for char32_t const* |
| 873 | 0000000000009358 (__TEXT,__cstring) external typeinfo name for std::nullptr_t const* |
| 874 | 00000000000093f4 (__TEXT,__cstring) external typeinfo name for char16_t const* |
| 875 | 0000000000009386 (__TEXT,__cstring) external typeinfo name for signed char const* |
| 876 | 0000000000009362 (__TEXT,__cstring) external typeinfo name for bool const* |
| 877 | 0000000000009374 (__TEXT,__cstring) external typeinfo name for char const* |
| 878 | 00000000000093e0 (__TEXT,__cstring) external typeinfo name for double const* |
| 879 | 00000000000093e9 (__TEXT,__cstring) external typeinfo name for long double const* |
| 880 | 00000000000093d7 (__TEXT,__cstring) external typeinfo name for float const* |
| 881 | 000000000000937d (__TEXT,__cstring) external typeinfo name for unsigned char const* |
| 882 | 00000000000093a1 (__TEXT,__cstring) external typeinfo name for int const* |
| 883 | 00000000000093aa (__TEXT,__cstring) external typeinfo name for unsigned int const* |
| 884 | 00000000000093b3 (__TEXT,__cstring) external typeinfo name for long const* |
| 885 | 00000000000093bc (__TEXT,__cstring) external typeinfo name for unsigned long const* |
| 886 | 000000000000938f (__TEXT,__cstring) external typeinfo name for short const* |
| 887 | 0000000000009398 (__TEXT,__cstring) external typeinfo name for unsigned short const* |
| 888 | 000000000000934d (__TEXT,__cstring) external typeinfo name for void const* |
| 889 | 000000000000936b (__TEXT,__cstring) external typeinfo name for wchar_t const* |
| 890 | 00000000000093c5 (__TEXT,__cstring) external typeinfo name for long long const* |
| 891 | 00000000000093ce (__TEXT,__cstring) external typeinfo name for unsigned long long const* |
| 892 | 0000000000009383 (__TEXT,__cstring) external typeinfo name for signed char* |
| 893 | 000000000000935f (__TEXT,__cstring) external typeinfo name for bool* |
| 894 | 0000000000009371 (__TEXT,__cstring) external typeinfo name for char* |
| 895 | 00000000000093dd (__TEXT,__cstring) external typeinfo name for double* |
| 896 | 00000000000093e6 (__TEXT,__cstring) external typeinfo name for long double* |
| 897 | 00000000000093d4 (__TEXT,__cstring) external typeinfo name for float* |
| 898 | 000000000000937a (__TEXT,__cstring) external typeinfo name for unsigned char* |
| 899 | 000000000000939e (__TEXT,__cstring) external typeinfo name for int* |
| 900 | 00000000000093a7 (__TEXT,__cstring) external typeinfo name for unsigned int* |
| 901 | 00000000000093b0 (__TEXT,__cstring) external typeinfo name for long* |
| 902 | 00000000000093b9 (__TEXT,__cstring) external typeinfo name for unsigned long* |
| 903 | 000000000000938c (__TEXT,__cstring) external typeinfo name for short* |
| 904 | 0000000000009395 (__TEXT,__cstring) external typeinfo name for unsigned short* |
| 905 | 000000000000934a (__TEXT,__cstring) external typeinfo name for void* |
| 906 | 0000000000009368 (__TEXT,__cstring) external typeinfo name for wchar_t* |
| 907 | 00000000000093c2 (__TEXT,__cstring) external typeinfo name for long long* |
| 908 | 00000000000093cb (__TEXT,__cstring) external typeinfo name for unsigned long long* |
| 909 | 0000000000009381 (__TEXT,__cstring) external typeinfo name for signed char |
| 910 | 000000000000935d (__TEXT,__cstring) external typeinfo name for bool |
| 911 | 000000000000936f (__TEXT,__cstring) external typeinfo name for char |
| 912 | 00000000000093db (__TEXT,__cstring) external typeinfo name for double |
| 913 | 00000000000093e4 (__TEXT,__cstring) external typeinfo name for long double |
| 914 | 00000000000093d2 (__TEXT,__cstring) external typeinfo name for float |
| 915 | 0000000000009378 (__TEXT,__cstring) external typeinfo name for unsigned char |
| 916 | 000000000000939c (__TEXT,__cstring) external typeinfo name for int |
| 917 | 00000000000093a5 (__TEXT,__cstring) external typeinfo name for unsigned int |
| 918 | 00000000000093ae (__TEXT,__cstring) external typeinfo name for long |
| 919 | 00000000000093b7 (__TEXT,__cstring) external typeinfo name for unsigned long |
| 920 | 000000000000938a (__TEXT,__cstring) external typeinfo name for short |
| 921 | 0000000000009393 (__TEXT,__cstring) external typeinfo name for unsigned short |
| 922 | 0000000000009348 (__TEXT,__cstring) external typeinfo name for void |
| 923 | 0000000000009366 (__TEXT,__cstring) external typeinfo name for wchar_t |
| 924 | 00000000000093c0 (__TEXT,__cstring) external typeinfo name for long long |
| 925 | 00000000000093c9 (__TEXT,__cstring) external typeinfo name for unsigned long long |
| 926 | 000000000000ce30 (__DATA,__const) external vtable for __cxxabiv1::__enum_type_info |
| 927 | 000000000000cdb0 (__DATA,__const) external vtable for __cxxabiv1::__array_type_info |
| 928 | 000000000000cbe0 (__DATA,__const) external vtable for __cxxabiv1::__class_type_info |
| 929 | 000000000000ce70 (__DATA,__const) external vtable for __cxxabiv1::__pbase_type_info |
| 930 | 000000000000cec0 (__DATA,__const) external vtable for __cxxabiv1::__pointer_type_info |
| 931 | 000000000000cdf0 (__DATA,__const) external vtable for __cxxabiv1::__function_type_info |
| 932 | 000000000000cc40 (__DATA,__const) external vtable for __cxxabiv1::__si_class_type_info |
| 933 | 000000000000cca0 (__DATA,__const) external vtable for __cxxabiv1::__vmi_class_type_info |
| 934 | 000000000000cd70 (__DATA,__const) external vtable for __cxxabiv1::__fundamental_type_info |
| 935 | 000000000000cf10 (__DATA,__const) external vtable for __cxxabiv1::__pointer_to_member_type_info |
| 936 | |
| 937 | (undefined) external ___stack_chk_fail (from libSystem) |
| 938 | (undefined) external ___stack_chk_guard (from libSystem) |
| 939 | (undefined) external ___stderrp (from libSystem) |
| 940 | (undefined) external ___strcat_chk (from libSystem) |
| 941 | (undefined) external _abort (from libSystem) |
| 942 | (undefined) external _calloc (from libSystem) |
| 943 | (undefined) external _dlsym (from libSystem) |
| 944 | (undefined) external _free (from libSystem) |
| 945 | (undefined) external _malloc (from libSystem) |
| 946 | (undefined) external _memcpy (from libSystem) |
| 947 | (undefined) external _pthread_getspecific (from libSystem) |
| 948 | (undefined) external _pthread_key_create (from libSystem) |
| 949 | (undefined) external _pthread_mutex_init (from libSystem) |
| 950 | (undefined) external _pthread_mutex_lock (from libSystem) |
| 951 | (undefined) external _pthread_mutex_unlock (from libSystem) |
| 952 | (undefined) external _pthread_mutexattr_init (from libSystem) |
| 953 | (undefined) external _pthread_mutexattr_settype (from libSystem) |
| 954 | (undefined) external _pthread_once (from libSystem) |
| 955 | (undefined) external _pthread_setspecific (from libSystem) |
| 956 | (undefined) external _realloc (from libSystem) |
| 957 | (undefined) external _strcmp (from libSystem) |
| 958 | (undefined) external _strcpy (from libSystem) |
| 959 | (undefined) external _strlen (from libSystem) |
| 960 | (undefined) external _strncmp (from libSystem) |
| 961 | (undefined) external _vasprintf (from libSystem) |
| 962 | (undefined) external _vfprintf (from libSystem) |
| 963 | (undefined) external dyld_stub_binder (from libSystem) |
| 964 | (undefined) external __Unwind_DeleteException (from libSystem) |
| 965 | (undefined) external __Unwind_GetIP (from libSystem) |
| 966 | (undefined) external __Unwind_GetLanguageSpecificData (from libSystem) |
| 967 | (undefined) external __Unwind_GetRegionStart (from libSystem) |
| 968 | (undefined) external __Unwind_RaiseException (from libSystem) |
| 969 | (undefined) external __Unwind_Resume_or_Rethrow (from libSystem) |
| 970 | (undefined) external __Unwind_SetGR (from libSystem) |
| 971 | (undefined) external __Unwind_SetIP (from libSystem) |
| 972 | (undefined) external ___bzero (from libSystem) |
| 973 | --> |
| 974 | |
| 975 | </body> |
| 976 | </html> |