[LLVMdev] [PATCH] Before/After IR Dumps
David Greene
dag at cray.com
Fri Mar 12 08:10:47 PST 2010
On Friday 12 March 2010 08:13:05 Kalle Raiskila wrote:
> David Greene wrote:
> > Here's a rework using PassManager as Chris suggested. Comments?
>
> Tried this second patch with the svn version 97812 (the one the patch is
> made against), but it doesn't compile:
> "llvm/include/llvm/Pass.h:127: Error: expected unqualified-id before "&"
> token"
> Seems raw_ostream is forward declared but not defined (adding a missing
> #include fixed that).
It shouldn't need to be defined. Perhaps std::string is the issue, though I
don't know why I don't see the problem. Probably because
MachineFunctionPrinterPass.h includes <string> somewhere along
the line.
> But the file MachineFunctionPrinterPass.h is still missing.
Thanks, here's an updated version.
-Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-beforeafter.patch
Type: text/x-patch
Size: 26756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100312/e3a14b96/attachment.bin>
More information about the llvm-dev
mailing list