Adding functions' inline attribute when we generate DebugInfo

Optimizations should be independent of DebugInfo.