You copied the Doc URL to your clipboard.

--vfe, --no_vfe

This option enables or disables Virtual Function Elimination (VFE) in C++.

VFE enables unused virtual functions to be removed from code. When VFE is enabled, the compiler places the information in special sections with the prefix .arm_vfe_. These sections are ignored by linkers that are not VFE-aware, because they are not referenced by the rest of the code. Therefore, they do not increase the size of the executable. However, they increase the size of the object files.


This option is effective only if the source language is C++.


The default is --vfe, except for the case where legacy object files compiled with a pre-RVCT v2.1 compiler do not contain VFE information.