7.169 --vfe, --no_vfe

Enables and 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.
Related reference
16.2 Calling a pure virtual function
Related information
Elimination of unused virtual functions
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.