Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2761)

Unified Diff: base/tracked.cc

Issue 7067004: Prevent MSVC from inlining GetProgramCounter for LTCG builds. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/tracked.cc
===================================================================
--- base/tracked.cc (revision 86313)
+++ base/tracked.cc (working copy)
@@ -68,6 +68,9 @@
}
}
+#if defined(COMPILER_MSVC)
+__declspec(noinline)
+#endif
BASE_API const void* GetProgramCounter() {
#if defined(COMPILER_MSVC)
return _ReturnAddress();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698