diff options
author | albert <albert@yandex-team.ru> | 2022-02-10 16:48:14 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:14 +0300 |
commit | 9f25ef3232c288ca664ceee6c376cf64e4349a2e (patch) | |
tree | b192eaf3150845f7302fafd460a972b0439d6fe5 /library/cpp/execprofile/profile.cpp | |
parent | 6a1e535429145ec1ecfbc5f1efd3c95323261fb5 (diff) | |
download | ydb-9f25ef3232c288ca664ceee6c376cf64e4349a2e.tar.gz |
Restoring authorship annotation for <albert@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/execprofile/profile.cpp')
-rw-r--r-- | library/cpp/execprofile/profile.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/execprofile/profile.cpp b/library/cpp/execprofile/profile.cpp index d05de20203f..9c42114106b 100644 --- a/library/cpp/execprofile/profile.cpp +++ b/library/cpp/execprofile/profile.cpp @@ -7,11 +7,11 @@ #include <signal.h> #include <sys/time.h> #include <sys/resource.h> -#if defined(_darwin_) -#include <sys/ucontext.h> -#else +#if defined(_darwin_) +#include <sys/ucontext.h> +#else #include <ucontext.h> -#endif +#endif #include <dlfcn.h> #include <util/system/platform.h> @@ -186,18 +186,18 @@ private: #else return (void*)mctx->gregs[REG_EIP]; #endif -#elif defined _darwin_ +#elif defined _darwin_ #if defined _64_ #if defined(_arm_) return (void*)(*mctx)->__ss.__pc; #else - return (void*)(*mctx)->__ss.__rip; + return (void*)(*mctx)->__ss.__rip; #endif #else #if defined(__IOS__) return (void*)(*mctx)->__ss.__pc; #else - return (void*)(*mctx)->__ss.__eip; + return (void*)(*mctx)->__ss.__eip; #endif #endif #endif |