[LLVMdev] Inserting a function call into bitcode
nbg2k7 at gmail.com
Sat Jun 5 17:07:37 PDT 2010
Thanks for the link on PassManager. As Eli mentioned in one of his mails
(http://llvm.org/bugs/show_bug.cgi?id=5186), there was issue with LLVM which
was letter on resolved.
From: Nick Lewycky [mailto:nicholas at mxc.ca]
Sent: Saturday, June 05, 2010 2:04 AM
To: Nehal Gandhi
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Inserting a function call into bitcode
Nehal Gandhi wrote:
> Hi Nick
> I am not quite sure what you meant by verifier. I checked online documents
> and found that there is a function verifyAnalysis() in Pass but it is
> So do you suggest implementing that function? If it is the case, what
> I look while implementing that function? Or something else altogether?
I'm assuming you have a PassManager PM, in which case it would be
'PM.add(createVerifierPass());' which is equivalent to 'opt -verify
foo.bc'. Please let me know what that turns up; even if it finds no
problems that fact is still useful information.
The webpage is http://llvm.org/docs/Passes.html#verify .
> -----Original Message-----
> From: Nick Lewycky [mailto:nicholas at mxc.ca]
> Sent: Friday, June 04, 2010 2:29 AM
> To: Nehal Gandhi
> Cc: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Inserting a function call into bitcode
> Have you tried running the verifier after ConditionProfile runs? Just
> add it to the pass manager to run right afterwards and see what it picks
More information about the llvm-dev