A helper called from an exported function in a shared library

lib.cpp is built with GCC at -O2 -fPIC -shared for x86-64 Linux, with default visibility and no other flags. Does api inline the body of scale?

lib.cpp
int scale(int x) { return x * 3; }

int api(int x) { return scale(x) + 1; }

41 of 44 in Compilers