On 21/09/2021 13:49, Jeffrey Walton wrote:

The U&L option is -fno-inline. But I think Clang has an option to
consume MSVC style options, so you may be able to use /Ob.

I think you can check which MSVC style options Clang accepts with
'clang-cl /?' or 'clang-cl -?'.


Thanks again Jeff and you're right... clang-cl /? reveals that it'll handle the Microsoft variant of /Ob0

And according to Visual Studio it is sending that option...

So do you happen to know if clang-cl produces some kinda log file (i.e. that'd let me see which commands it actually received?)

John
_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to