未验证 提交 2914fc51 编写于 作者: O openharmony_ci 提交者: Gitee

!319 解决asan在aarch64下与musl的dlopen之间的死锁问题

Merge pull request !319 from Caoruihong/fix_asan_dlopen_deadlock
......@@ -196,6 +196,10 @@ template("musl_libs") {
"-Wl,--exclude-libs=ALL",
"-Wl,--dynamic-list=${dynamic_list}",
]
if (is_asan) {
ldflags -= [ "-Wl,--dynamic-list=${dynamic_list}" ]
ldflags += [ "-Wl,-Bsymbolic-functions" ]
}
asmflags = cflags
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册