[compiler-rt] r244786 - Try to fix the MSVC build now that we use /Zc:inline.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 11:09:44 PDT 2015
Author: rafael
Date: Wed Aug 12 13:09:44 2015
New Revision: 244786
URL: http://llvm.org/viewvc/llvm-project?rev=244786&view=rev
Log:
Try to fix the MSVC build now that we use /Zc:inline.
Thanks to Majnemer for the help.
Modified:
compiler-rt/trunk/lib/asan/asan_fake_stack.cc
Modified: compiler-rt/trunk/lib/asan/asan_fake_stack.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_fake_stack.cc?rev=244786&r1=244785&r2=244786&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_fake_stack.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_fake_stack.cc Wed Aug 12 13:09:44 2015
@@ -80,7 +80,9 @@ void FakeStack::PoisonAll(u8 magic) {
magic);
}
+#if !defined(_MSC_VER) || defined(__clang__)
ALWAYS_INLINE USED
+#endif
FakeFrame *FakeStack::Allocate(uptr stack_size_log, uptr class_id,
uptr real_stack) {
CHECK_LT(class_id, kNumberOfSizeClasses);
More information about the llvm-commits
mailing list