How to Verify Compiler and Linker Options for Code Inlining in Dhrystone Test Setup

I'd like to inquire whether the compiler and linker options mentioned below induce code inlining:


The "-flto" option in Arm C Compiler for Embedded 6.
The "--lto" and "--no-inline" options in Arm Linker 6.


I'm curious about the presence of the linker-related option "-flto" within compiler options. Specifically, I'd like to know whether it's intended for the compiler to perform linking, or if it's aimed at generating binaries that can be linked later.

Parents Reply Children
No data