#include <runtime.h>
Data Fields | |
| const char * | __fileName |
| int | __line |
| const char * | __name |
We use bitc_exception_t as a common "base" class (i.e. as the first element) of every exception structure that is emitted by the C emitter. This gives us something that we can cast to at the site of the catch in order to perform the dispatch across the catch blocks.
The inclusion of the name field gives us something to print for debugging purposes. At the moment, it is also used as our unique exception code. To support this, we emit a C declaration of the form:
const char *CMANGLE(excpt-id) = "CMANGLE(excpt-id)"
for each exception at the point of declaration.
Definition at line 117 of file runtime.h.
| const char* bitc_exception_t::__fileName |
| const char* bitc_exception_t::__name |
1.4.7