Update no-inlining for a clang-cl world
With VC++ marking a function as non-optimized with MSVC_DISABLE_OPTIMIZE would prevent it from being inlined, however with clang-cl that does not work, leading to confusing crash stacks. The fix is to use NOINLINE instead of MSVC_DISABLE_OPTIMIZE, which is more explicit and specific anyway. Bug: 873359 Change-Id: Ieb5c29e3212596f928a636d15143d717bd2c744c Reviewed-on: https://chromium-review.googlesource.com/1187265Reviewed-by:Alexander Timin <altimin@chromium.org> Commit-Queue: David Bienvenu <davidbienvenu@chromium.org> Cr-Commit-Position: refs/heads/master@{#585831}
Showing
Please register or sign in to comment