1
6
7
8
9
10
11
14
15
21
31
32
36
/* ... */
#include "sdkconfig.h"
#include "esp_log.h"
#include "esp_private/startup_internal.h"
namespace {
const char *TAG = "C++ init";
}{...}
/* ... */
extern "C" size_t __cxx_eh_arena_size_get(void)
{
#ifdef CONFIG_COMPILER_CXX_EXCEPTIONS
ESP_EARLY_LOGD(TAG, "Setting C++ exception emergency pool to %u.", CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE);
return CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE;/* ... */
#else
ESP_EARLY_LOGD(TAG, "Setting C++ exception emergency pool to 0.");
return 0;/* ... */
#endif
}{ ... }
/* ... */
extern "C" void __cxx_init_dummy(void)
{
}{ ... }