[llvm-dev] Disabling inline compilation (Clang with VS2019)

John Emmas via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 22 08:33:29 PDT 2021


On 22/09/2021 16:09, John Emmas via llvm-dev wrote:
>
> it's strange that the inlining seems to be different for us (unless 
> it's some other project setting??)
>

Anyway, ignoring the "/Ob0" issue for a minute, maybe there's a better 
solution available...

Could compilations be adapted so that wherever a symbol is found to be 
declared as __declspec(dllimport) there's an automatic assumption that 
it shouldn't be inlined?

John


More information about the llvm-dev mailing list