[llvm-dev] Error-Running pass 'Function Pass Manager' on module

mayuyu.io via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 1 05:28:33 PDT 2018


Have you tried building in Debug mode and reading asserts? What does the assert say?

Zhang

> 在 2018年11月1日,12:22,cszide via llvm-dev <llvm-dev at lists.llvm.org> 写道:
> 
> For some cases, the following error also occurs
> 1.	Running pass 'Interprocedural Sparse Conditional Constant Propagation' on module 'a.bc'.
> Segmentation fault (core dumped)
> 
> In most case, opt reports 
> 1 Running pass 'Function Pass Manager' on module 'xx.bc', 
> 2 Running pass 'mmm' on function '@yy'
> Segmentation fault (core dumped)
> 
> At 2018-11-01 20:15:27, "cszide via llvm-dev" <llvm-dev at lists.llvm.org> wrote:
> Hi, everyone, 
> I use opt to optimize some .bc files, but in some cases, when I use a costume passes sequence, I get the following error
> 1.	Running pass 'Function Pass Manager' on module 'xx.bc'.
> 2.	Running pass 'Value Propagation' on function '@yy'
> Segmentation fault (core dumped)
> 
> 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.
> Or there are some cautions that I need to know when I define the passes sequence by myself?
> 
> 
>  
> 
> 
> 
> 【网易自营|30天无忧退货】爱上书写:施华洛世奇制造商星空原色水晶笔,限时仅29元>>      
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181101/f8a1ba4a/attachment.html>


More information about the llvm-dev mailing list