Select one of the symbols to view example projects that use it.
 
Outline
#include "sdkconfig.h"
#include "esp_log.h"
#include "esp_private/startup_internal.h"
<anonymous namespace>
__cxx_eh_arena_size_get()
__cxx_init_dummy()
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/cxx/cxx_init.cpp
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #include "sdkconfig.h" #include "esp_log.h" #include "esp_private/startup_internal.h" namespace { const char *TAG = "C++ init"; }{...} /** * This function overwrites the same function of libsupc++ (part of libstdc++). * Consequently, libsupc++ will then follow our configured exception emergency pool size. * * It will be called even with -fno-exception for user code since the stdlib still uses exceptions. *//* ... */ 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 }{ ... } /** * Dummy function used to force linking this file. * This works via -u __cxx_init_dummy flag in CMakeLists.txt *//* ... */ extern "C" void __cxx_init_dummy(void) { }{ ... }
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.