3 ms·
Aren't they put into the .rodata section of the binary? Crashing is exactly what happens, thankfully https://godbolt.org/z/vKj9dcPMc https://godbolt.org/z/vKj
by secondcoming 3y ago
Aren't they put into the .rodata section of the binary?
Crashing is exactly what happens, thankfully
https://godbolt.org/z/vKj9dcPMc https://godbolt.org/z/vKj9dcPMc
- gary_0 3y agoGenerally yes, if you have a bunch of const data in your C++ code, it will go in .rodata. Depending on the compiler/flags/optimizations, of course. https://stackoverflow.com/a/44938843 https://stackoverflow.com/a/44938843