projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MSVC always_inline and noinline __attributes__ translation
[folly.git]
/
folly
/
experimental
/
exception_tracer
/
ExceptionTracerLib.cpp
diff --git
a/folly/experimental/exception_tracer/ExceptionTracerLib.cpp
b/folly/experimental/exception_tracer/ExceptionTracerLib.cpp
index 61803e7ddd8493ac96558736d2996cadad6b57c4..b04983bc03c106f73467bf700cb1c6d5ce85da6a 100644
(file)
--- a/
folly/experimental/exception_tracer/ExceptionTracerLib.cpp
+++ b/
folly/experimental/exception_tracer/ExceptionTracerLib.cpp
@@
-96,7
+96,7
@@
extern "C" StackTraceStack* getExceptionStackTraceStack() {
namespace {
// Make sure we're counting stack frames correctly, don't inline.
-
void addActiveException() __attribute__((noinline)
);
+
FOLLY_NOINLINE void addActiveException(
);
void addActiveException() {
pthread_once(&initialized, initialize);