Skip to content

Commit c9ce966

Browse files
Move __PRETTY_FUNCTION__ to progmem (#5758)
Match __FUNCTION__ linking, keep C++ function names out of rodata/heap.
1 parent 6c5269a commit c9ce966

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/sdk/ld/eagle.app.v6.common.ld.h

+2
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ SECTIONS
140140

141141
/* __FUNCTION__ locals */
142142
*(.rodata._ZZ*__FUNCTION__)
143+
*(.rodata._ZZ*__PRETTY_FUNCTION__)
144+
*(.rodata._ZZ*__func__)
143145

144146
/* std::* exception strings, in their own section to allow string coalescing */
145147
*(.irom.exceptiontext)

0 commit comments

Comments
 (0)