summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Some alpha renamingIan Lynagh2012-10-1699-348/+348
| | | | | Mostly d -> g (matching DynFlag -> GeneralFlag). Also renamed if* to when*, matching the Haskell if/when names
* Remove a copy of foldM, and use the standard function insteadIan Lynagh2012-10-161-7/+2
|
* Whitespace only in simplStg/SimplStg.lhsIan Lynagh2012-10-161-54/+47
|
* Rename setDynFlag, unSetDynFlag following the DynFlag->GeneralFlag renameIan Lynagh2012-10-161-58/+58
|
* Rename DynFlag to GeneralFlagIan Lynagh2012-10-1614-65/+65
| | | | | This avoids confusion due to [DynFlag] and DynFlags being completely different types.
* Build system fix for building a profiling GHCIan Lynagh2012-10-161-0/+3
|
* Remove unused dumpIfSet_dyn_orIan Lynagh2012-10-151-8/+1
|
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-10-1510-3/+99
|\
| * Add a new traceMarker# primop for use in profiling outputDuncan Coutts2012-10-1510-3/+99
| | | | | | | | | | | | | | | | | | In time-based profiling visualisations (e.g. heap profiles and ThreadScope) it would be useful to be able to mark particular points in the execution and have those points in time marked in the visualisation. The traceMarker# primop currently emits an event into the eventlog. In principle it could be extended to do something in the heap profiling too.
* | Make -ddump-cmmz-cfg turn on the right flagIan Lynagh2012-10-151-1/+1
| | | | | | | | It was turning on Opt_D_dump_cmmz_cbe rather than Opt_D_dump_cmmz_cfg
* | Use -O0 -g C flags when compiling a debug wayIan Lynagh2012-10-151-1/+1
|/
* Merge branch 'master' of http://darcs.haskell.org/ghcIan Lynagh2012-10-141-0/+3
|\
| * rts: Ignore signal before deleting timer. Fixes #7303.Erik de Castro Lopo2012-10-141-0/+3
| | | | | | | | | | | | | | Was getting an ocassional hang or segfault when building GHC in a Qemu user space emulation of ARM. Turned out that the ITIMER_SIGNAL was being delivered *after* the call to timer_delete(). Setting the signal to SIG_IGN before deleting the timer solves the problem.
* | Default to dynamic-by-default on OSX/64Ian Lynagh2012-10-141-1/+2
| |
* | Fix some dependenciesIan Lynagh2012-10-143-1/+5
| |
* | Fix copy/paste-oIan Lynagh2012-10-141-1/+1
| |
* | Use Cabal to build ghctagsIan Lynagh2012-10-142-3/+23
| |
* | Use Cabal to build hpc-binIan Lynagh2012-10-142-4/+11
| |
* | Get dynamic-by-default mostly working on OS XIan Lynagh2012-10-145-1/+28
| |
* | Double a couple of $s for consistencyIan Lynagh2012-10-141-2/+2
| |
* | Don't set dynlib install names when buildingIan Lynagh2012-10-142-5/+0
| | | | | | | | | | | | | | | | When building things to run in the build tree, we want the install name to be the location in the build tree. Bindists may be installed somewhere other than the configured install location, so we weren't even necessarily setting it to the right value.
* | Move the RPATH computation into the build rulesIan Lynagh2012-10-142-5/+1
| | | | | | | | It doesn't really belong in package-data.mk
* | Add TRANSITIVE_DEPS variables to package-data.mk filesIan Lynagh2012-10-141-0/+3
| |
* | Fix installing when dynlibs-by-defaultIan Lynagh2012-10-141-2/+3
|/
* Fix test for GHCi lib buildingIan Lynagh2012-10-131-1/+3
|
* Keep the list of DLLs that we dlopenIan Lynagh2012-10-131-2/+50
| | | | | | | Unfortunately, dlsym finds the first symbol loaded, while when we reload a compiled module in GHCi it's the last symbol that we want. Therefore we remember the list of loaded DLLs ourselves and go through them in order.
* Fix typoIan Lynagh2012-10-131-1/+1
|
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-10-135-24/+41
|\
| * Add a type signature needed when using GADTsSimon Peyton Jones2012-10-121-0/+1
| |
| * Merge branch 'master' of darcs.haskell.org:/home/darcs/ghcSimon Peyton Jones2012-10-121-1/+1
| |\
| | * fix obvious typosGabor Greif2012-10-121-1/+1
| | | | | | | | | | | | these can go into the release 7.6.2 too, I guess
| * | Fix error in tidying the type variables of a TyCon when building an ↵Simon Peyton Jones2012-10-121-1/+1
| | | | | | | | | | | | interface file
| * | Be lazier when typechecking data type contexts (Trac #7321)Simon Peyton Jones2012-10-121-14/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should be lazy when type-checking the equality-contraint part of a data constructor's type, to make the knot-tying work out right. The fact that it's always worked before is a fluke: no one else wrote a GADT whose type index mentions itself data T a wher MkT :: T (T Int)
| * | Ensure we produce a FunTy for functions (Trac #7312)Simon Peyton Jones2012-10-121-8/+27
| |/ | | | | | | | | | | | | | | | | The issue here was with a function type written prefix (->) a b where we were not generating a FunTy, which blew the invariant that function types are always FunTys. We can't look at the TyCon directly because it may be knot-tied, so we look at the name instead.
* | When dynamic-by-default, don't use the GHCi linkerIan Lynagh2012-10-138-218/+294
| | | | | | | | We instead link objects into a temporary DLL and dlopen that
* | Don't build the HS*.o files when DYNAMIC_BY_DEFAULTIan Lynagh2012-10-121-0/+2
|/ | | | | We don't use them (we use the .so/.dll instead), so no point generating them.
* ghc-pkg: Print something when no packages are found; fixes #6119Ian Lynagh2012-10-111-1/+4
| | | | | | | | | | We used to say $ ghc-pkg list blargle /usr/local/lib/ghc-7.4.1/package.conf.d which may imply that blargle was found in /usr/local/lib/ghc-7.4.1/package.conf.d
* Whitespace only in types/FamInstEnv.lhsIan Lynagh2012-10-111-142/+135
|
* Add an "Outputable (InstInfo a)" instanceIan Lynagh2012-10-111-0/+3
|
* Whitespace only in typecheck/TcDeriv.lhsIan Lynagh2012-10-111-536/+529
|
* Whitespace only in typecheck/TcGenDeriv.lhsIan Lynagh2012-10-111-669/+663
|
* Fix build on WindowsIan Lynagh2012-10-111-1/+1
| | | | | gcc couldn't find ghc_boot_platform.h. I'm not sure why it worked on Linux.
* Remove fake-happy; it's no longer usefulIan Lynagh2012-10-111-20/+0
|
* Remove cvs-build; it's no longer usedIan Lynagh2012-10-111-137/+0
|
* Remove the distrib/prep-bin-* scriptsIan Lynagh2012-10-117-401/+0
| | | | They are no longer used
* Remove distrib/Mac*; fixes #7136Ian Lynagh2012-10-1118-1040/+0
| | | | | We no longer produce installers fo OS X; we leave that to the Haskell Platform team.
* Move the primop bits into the compiler/stage<n>/build directoriesIan Lynagh2012-10-103-69/+61
| | | | We shouldn't be generating files in the source directories
* Put the generated Parser.y under compiler/stage<n>/build; fixes #7195Ian Lynagh2012-10-102-1/+18
|
* Make -fexcess-precision a fully-dynamic flagIan Lynagh2012-10-093-33/+18
| | | | It used to be part-dynamic, part-static.
* Make -f(no-)pre-inlining a dynamic flagIan Lynagh2012-10-096-32/+34
|