6 Star 1 Fork 29

src-openEuler/gperftools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
skip-arm-in-stacktrace_unittest.patch 923 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ni Cunshu 提交于 2024-02-05 23:27 +08:00 . Upgrade to 2.15
From abf1ed0ce1340320474a4cf3b790b7b741b9a577 Mon Sep 17 00:00:00 2001
From: zhangyiru <zhangyiru3@huawei.com>
Date: Mon, 29 Nov 2021 10:35:01 +0800
Subject: [PATCH] skip stacktrace_unittest in arm
the calling of unw_step in arm stacktrace_unittest is incorrect, but the
function is not affected, so skip it.
Signed-off-by: zhangyiru <zhangyiru3@huawei.com>
---
src/tests/stacktrace_unittest.cc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/tests/stacktrace_unittest.cc b/src/tests/stacktrace_unittest.cc
index 55cb054..85e5916 100644
--- a/src/tests/stacktrace_unittest.cc
+++ b/src/tests/stacktrace_unittest.cc
@@ -376,6 +376,10 @@ const char* TEST_bump_stacktrace_implementation(const char*);
}
int main(int argc, char** argv) {
+#if defined(__aarch64__)
+ printf("ARM SKIP\n");
+ exit(77);
+#endif
if (argc > 1 && strcmp(argv[1], "--skip-ucontext") == 0) {
argc--;
argv--;
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/gperftools.git
git@gitee.com:src-openeuler/gperftools.git
src-openeuler
gperftools
gperftools
master

搜索帮助