Hi Naznin, do you build LLVM with assertions enabled? Does your IR pass the
verifier?
Best wishes, Duncan.
> I am running into this segmentation fault while running a simple function
pass
> on some C benchmarks
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000005c5c00 in AddReachableCodeToWorklist(llvm::BasicBlock*,
> llvm::SmallPtrSet<llvm::BasicBlock*, 64u>&,
llvm::InstCombiner&,
> llvm::TargetData const*) ()
>
>
> What can be the possible reasons of the segmentation fault here? I am
trying to
> figure it out for many days now. I would appreciate any help.
>
> Thanks,
> Naznin
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>