This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ARM-CGT: Use of -mllvm -align-all-functions=2 compiler option

Part Number: ARM-CGT

Hi
I want to enable "mllvm -align-all-functions=2" compiler option to reduce holes. I am using it for an example provided in MCU-PLUS-SDK-AM243X.

MCU+ SDK provides two ways of building an example: makefile and CCS project. I see that enabling the above mentioned option behaves differently with these options. When I enable it for CCS project, I see following warning. When I enable it for makefile based build, I do not see this warning.

"tiarmclang: warning: argument unused during compilation: '-mllvm -align-all-functions=2' [-Wunused-command-line-argument]"

And I do see a difference of 0.2KB between memory consumption of binary generated by CCS and makefile.

Can you explain why this warning is seen when the option is enabled for CCS project?

Regards
Dhaval Khandla