[llvm-commits] CVS: llvm/tools/llc/llc.cpp
Reid Spencer
reid at x10sys.com
Wed Jul 27 20:58:11 PDT 2005
On Wed, 2005-07-27 at 22:49 -0500, Chris Lattner wrote:
> On Wed, 27 Jul 2005, Reid Spencer wrote:
>
> > // GetFileNameRoot - Helper function to get the basename of a filename.
> > static inline std::string
> > @@ -113,6 +123,25 @@
> > PassManager Passes;
> > Passes.add(new TargetData(TD));
> >
> > +#ifndef NDEBUG
> > + if(!NoVerify)
> > + Passes.add(createVerifierPass());
> > +#endif
>
>
> Shouldn't the verifier be run AFTER the passes below? This just verifies
> that the bytecode file isn't corrupt, which isn't super useful since gccld
> verifies it is fine before writing it.
>
> -Chris
Yes. I'll fix it. Thanks.
Reid.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20050727/5d95764b/attachment.sig>
More information about the llvm-commits
mailing list