<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><span></span></div><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8">Have you tried building in Debug mode and reading asserts? What does the assert say?<br><br><div id="AppleMailSignature" dir="ltr">Zhang</div><div dir="ltr"><br>在 2018年11月1日,12:22,cszide via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> 写道:<br><br></div><blockquote type="cite"><div dir="ltr">For some cases, the following error also occurs<br>1. Running pass 'Interprocedural Sparse Conditional Constant Propagation' on module 'a.bc'.<br>Segmentation fault (core dumped)<br><br>In most case, opt reports <br>1 Running pass 'Function Pass Manager' on module 'xx.bc', <br>2 Running pass 'mmm' on function '@yy'<br>Segmentation fault (core dumped)<br><br>At 2018-11-01 20:15:27, "cszide via llvm-dev" <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="width: 1546.59px;">Hi, everyone, </div><div style="width: 1546.59px;">I use opt to optimize some .bc files, but in some cases, when I use a costume passes sequence, I get the following error</div><div style="width: 1546.59px;"><div style="width: 1546.59px;"><div style="width: 1546.59px;">1.<span style="white-space:pre">    </span>Running pass 'Function Pass Manager' on module 'xx.bc'.</div><div style="width: 1546.59px;">2.<span style="white-space:pre"> </span>Running pass 'Value Propagation' on function '@yy'</div><div style="width: 1546.59px;">Segmentation fault (core dumped)</div><div style="width: 1546.59px;"><br></div><div style="width: 1546.59px;">What are the reasons of this error? From the output text, I know that opt runs pass 'Function Pass Manager' on module, which is not correct, but I cannot find the reason.</div><div style="width: 1546.59px;">Or there are some cautions that I need to know when I define the passes sequence by myself?</div></div></div></div><br><br><span title="neteasefooter"><p> </p></span></blockquote><br><br><span title="neteasefooter"><div id="netease_mail_footer"><div style="border-top:#CCC 1px solid;padding:10px 5px;font-size:16px;color:#777;line-height:22px"><a href="http://you.163.com/item/detail?id=1092001&from=web_gg_mail_jiaobiao_7
" target="_blank" style="color:#3366FF;text-decoration:none">【网易自营|30天无忧退货】爱上书写:施华洛世奇制造商星空原色水晶笔,限时仅29元>>  </a>
    </div></div></span></div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>LLVM Developers mailing list</span><br><span><a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a></span><br><span><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a></span><br></div></blockquote></div></body></html>