summaryrefslogtreecommitdiff
path: root/compiler/main/DriverPhases.hs
Commit message (Collapse)AuthorAgeFilesLines
* Make "happensBefore" take account of whether we are unregisterisedIan Lynagh2013-01-111-26/+33
| | | | | If we are not unregisterised then we skip the HCc phase. Fixes #7563.
* Remove some CPP from compiler/ghci/Linker.lhsIan Lynagh2012-08-281-21/+20
|
* Tabs -> Spaces + cleaningDavid Terei2011-11-221-13/+5
|
* Better document the driver pipeline.David Terei2011-11-221-45/+45
|
* Use -fwarn-tabs when validatingIan Lynagh2011-11-041-0/+7
| | | | | We only use it for "compiler" sources, i.e. not for libraries. Many modules have a -fno-warn-tabs kludge for now.
* LLVM pre-mangler files should be considered cishDavid Terei2011-09-141-1/+1
|
* Teach GHC to compile objective-c++ files as well (trac #5150)Peter Wortmann2011-08-061-1/+7
|
* LLVM: Support LLVM 2.9 (#5103)David Terei2011-05-041-4/+0
| | | | | Instead of using the GNU As subsection feature on Linux/Windows for TNTC we now use the LLVM Mangler on all platforms.
* Merge branch 'trac_5025' of https://github.com/thoughtpolice/ghcSimon Marlow2011-04-061-1/+6
|\ | | | | | | | | | | | | | | * 'trac_5025' of https://github.com/thoughtpolice/ghc: Teach GHC to compile objective-c files; trac #5025 Conflicts: compiler/main/DriverPipeline.hs
| * Teach GHC to compile objective-c files; trac #5025Austin Seipp2011-04-031-1/+6
| |
* | Merge _stub.o files into the main .o file (Fixes #3687 and #706)Simon Marlow2011-04-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now GHC still generates the _stub.c files, but the object file is automatically merged into the main .o file for a module. This means that build systems (including GHC's own) no longer need to worry about looking for _stub.o files and including them when linking. I had to do lots of refactoring in DriverPipeline to make this work; now there's a monad to carry around all the information, and everything is a lot tidier. The _stub.c is now created as a temporary file and removed after compilation (unless the -keep-tmp-files flag is on).
* | Remove dead code, now that -fvia-c is a no-opIan Lynagh2011-04-041-6/+1
|/
* Add "cmmcpp" as a Haskellish source suffixIan Lynagh2010-08-051-1/+1
|
* Add a debugTrace for the phases that we runIan Lynagh2010-07-291-1/+4
|
* LLVM: Add in new LLVM mangler for implementing TNTC on OSXDavid Terei2010-07-131-0/+9
|
* Remove LlvmAs phase as the llvm opt tool now handles this phaseDavid Terei2010-06-221-14/+9
| | | | | | | This phase originally invoked the llvm-as tool that turns a textual llvm assembly file into a bit code file for the rest of llvm to deal with. Now the llvm opt tool can do this itself, so we don't need to use llvm-as anymore.
* Add new LLVM code generator to GHC. (Version 2)David Terei2010-06-151-1/+16
| | | | | | | | | | | | | | | | | | This was done as part of an honours thesis at UNSW, the paper describing the work and results can be found at: http://www.cse.unsw.edu.au/~pls/thesis/davidt-thesis.pdf A Homepage for the backend can be found at: http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/Backends/LLVM Quick summary of performance is that for the 'nofib' benchmark suite, runtimes are within 5% slower than the NCG and generally better than the C code generator. For some code though, such as the DPH projects benchmark, the LLVM code generator outperforms the NCG and C code generator by about a 25% reduction in run times.
* Whitespace onlyIan Lynagh2010-06-121-73/+73
|
* Include HsVersions.h where necessaryRoman Leshchinskiy2008-04-231-0/+2
|
* Fix warnings in main/DriverPhasesIan Lynagh2008-03-251-14/+24
|
* Use System.FilePathIan Lynagh2008-01-121-10/+11
|
* Move OPTIONS pragmas above commentsIan Lynagh2007-09-211-7/+7
| | | | Fixes building with -Werror (i.e. validate) and GHC < 6.6
* Fix CodingStyle#Warnings URLsIan Lynagh2007-09-041-1/+1
|
* Use OPTIONS rather than OPTIONS_GHC for pragmasIan Lynagh2007-09-031-2/+2
| | | | | | | Older GHCs can't parse OPTIONS_GHC. This also changes the URL referenced for the -w options from WorkingConventions#Warnings to CodingStyle#Warnings for the compiler modules.
* Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modulesIan Lynagh2007-09-011-0/+7
|
* Remove ILX from the GHC altogether (although I left the source file IlxGen ↵simonpj@microsoft.com2006-10-041-4/+0
| | | | in case anyone wants to see it)
* Add a C++ phase. Fixes bug #800Lemmih2006-07-271-3/+7
|
* Reorganisation of the source treeSimon Marlow2006-04-071-0/+229
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.