__declspec(no_linker_opts)

Specifies that the linker must not apply its optimizations to a function.

Syntax
__declspec(no_linker_opts) 
  function-declaration