aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/execprofile/profile.cpp
diff options
context:
space:
mode:
authorAlexey Borzenkov <snaury@yandex-team.ru>2022-02-10 16:47:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:41 +0300
commit22d92781ba2a10b7fb5b977b7d1a5c40ff53885f (patch)
tree852611fd27f734847435b37aa5b0ad5d8b1c10ac /library/cpp/execprofile/profile.cpp
parent667a4ee7da2e004784b9c3cfab824a81e96f4d66 (diff)
downloadydb-22d92781ba2a10b7fb5b977b7d1a5c40ff53885f.tar.gz
Restoring authorship annotation for Alexey Borzenkov <snaury@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/execprofile/profile.cpp')
-rw-r--r--library/cpp/execprofile/profile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/execprofile/profile.cpp b/library/cpp/execprofile/profile.cpp
index d05de20203f..be1fc216704 100644
--- a/library/cpp/execprofile/profile.cpp
+++ b/library/cpp/execprofile/profile.cpp
@@ -188,11 +188,11 @@ private:
#endif
#elif defined _darwin_
#if defined _64_
-#if defined(_arm_)
- return (void*)(*mctx)->__ss.__pc;
-#else
+#if defined(_arm_)
+ return (void*)(*mctx)->__ss.__pc;
+#else
return (void*)(*mctx)->__ss.__rip;
-#endif
+#endif
#else
#if defined(__IOS__)
return (void*)(*mctx)->__ss.__pc;