提交 75ec6d0b 编写于 作者: B Behdad Esfahbod

Tighten up check-static-inits.sh check

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=74490
上级 110ec071
......@@ -30,7 +30,7 @@ done
echo "Checking that no object file has lazy static C++ constructors/destructors or other such stuff"
for obj in $OBJS; do
if objdump -t "$obj" | grep '__c'; then
if objdump -t "$obj" | grep '__cxa_'; then
echo "Ouch, $obj has lazy static C++ constructors/destructors or other such stuff"
stat=1
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册