[LLVMbugs] Re: [LLVMdev] Saving preprocessed source and/or assembly
Chris Lattner
sabre at nondot.org
Fri May 23 08:00:28 PDT 2003
> In the "How to submit an LLVM bug report" page, we should recommend
> that people use gcc -save-temps to write out the .s (llvm assembly)
> and .i (preprocessed source code) files, rather than the slightly
> more-cumbersome -E/-S methods.
Makes sense.
> The nice thing about -save-temps is that you need do nothing more than
> replace "gcc" with "gcc -save-temps" in a command line, and leave
> everything else unchanged. The compilation process runs as before,
> except that it leaves behind a foo.s and a foo.i file for each compiled
> foo.c file.
Sounds good, go ahead and make the change as you see best (the document is
in llvm/www/docs). When you commit, commit on tank (which has the
www-root), and it should auto-upload the document to the main web page.
Thanks Brian!
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
More information about the llvm-bugs
mailing list