What is the advantage of using -fno-unwind-tablesin addition to -fno-exceptions- especially on C ++ embedded systems?
-fno-unwind-tables
-fno-exceptions
According to Bare Metal C ++ Practical Guide - § Exceptions must be both:
You can prevent the use of throw statements by providing certain parameters to the compiler. For the GNU compiler (gcc), use -fno-exceptionsin conjunction with parameters -fno-unwind-tables.
However, there is no explanation of what it does -fno-unwind-tables.
Per GCC, ( ), , , - . , , backtrace (, C-).
, , , , , -fno-exceptions, , , . , , , , .
make - ++ ( -fno-exceptions), 3 , , :
default : 576KB CPPFLAGS += -fno-unwind-tables : 576KB CPPFLAGS += -funwind-tables : 580KB
.ARM.extab ELF - , script, , .
.ARM.extab
Source: https://habr.com/ru/post/1654364/More articles:Enable autoscaling when creating a GKE cluster - autoscalingGmail: cannot read data from transport connection: net_io_connectionclosed - c #When to use cudaHostRegister () and cudaHostAlloc ()? What is the meaning of "memory with a pin or locked"? What is equivalent in OpenCL? - memory-managementThe term "scaffold-dbcontext" is not recognized as the name of a cmdlet, function, script file, or operating program - asp.net-coreDefinition of time complexity - performanceIn unit test, execute the block queued with dispatch_asyc - iosgcc: error trying to execute exec 'cc1plus': execvp: no such file or directory - gccConfiguring ASP.Net core for authentication using OIDC vs Thinktecture V2 - asp.net-coreInvalid Oracle NVL Number - sqlКак создать редактор Quill без панели инструментов? - javascriptAll Articles