summaryrefslogtreecommitdiff
path: root/compiler/ghci/ObjLink.lhs
Commit message (Collapse)AuthorAgeFilesLines
* Fix whitespace in ghci/ObjLink.lhsIan Lynagh2012-03-201-24/+17
|
* Make the RTS linker API use wide-char pathnames on Windows (#5697)Simon Marlow2012-01-091-27/+11
| | | | | I haven't been able to test whether this works or not due to #5754, but at least it doesn't appear to break anything.
* Update for a mutable localeEncodingMax Bolingbroke2011-11-181-2/+13
|
* 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.
* Followup to #5289 changes: fix searching for dynamic libraries and useSimon Marlow2011-08-031-2/+17
| | | | | | of the RTS addDLL() API on Windows. When searching for DLLs we should include the .dll extension, but addDLL() takes a filename without the extension.
* Unicode fixes, taking into account PEP383 supportMax Bolingbroke2011-05-141-7/+13
|
* Implement archive loading for ghciIan Lynagh2010-09-201-0/+8
|
* When (un)loading an object fails, say which object in teh panicIan Lynagh2010-07-231-2/+2
|
* remove unnecessary -#include optionsSimon Marlow2009-08-021-2/+0
|
* Trim unused imports detected by new unused-import codesimonpj@microsoft.com2009-07-061-1/+1
|
* Make ObjLink warning-freeIan Lynagh2008-05-031-9/+1
|
* 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
|
* Fix typoIan Lynagh2007-04-041-1/+1
|
* Constructor names in info tablesbjpop@csse.unimelb.edu.au2007-02-201-15/+1
| | | | | | | This patch adds data constructor names into their info tables. This is useful in the ghci debugger. It replaces the old scheme which was based on tracking data con names in the linker.
* Retrieving the datacon of an arbitrary closurePepe Iborra2006-12-101-1/+16
| | | | | | | | | | | This patch extends the RTS linker and the dynamic linker so that it is possible to find out the datacon of a closure in heap at runtime: - The RTS linker now carries a hashtable 'Address->Symbol' for data constructors - The Persistent Linker State in the dynamic linker is extended in a similar way. Finally, these two sources of information are consulted by: > Linker.recoverDataCon :: a -> TcM Name
* Remove the concept of stableRoots.Lemmih2006-11-211-14/+0
| | | | | | | | | | | | | StableRoots opened new possibilities in the world of plugins with their ability to link partially applied closures against object code. Exporting '(fn pluginwideState)' severely reduced the complexity of HIDE's plugin system. The previous system of global variables was both fragile and hard to scale. Good bye, StableRoots. We sure had some fun.
* Comment out deeply suspicious (and unused) function insertStableSymbolsimonpj@microsoft.com2006-11-071-3/+7
| | | | | | | | | | | The function insertStableSymbol looks utterly wrong, because it coerces a value of type 'a' to an Addr#! That was in turn making the code generator get confused (now improved), but since insertStableSymbol isn't used at all, I'm just commenting it out. Meanwhile, this patch also enhances CoreToStg to report the most egregious cases where an unsafe coerce is going to confuse the code generator.
* Remove pre-5.04 codeIan Lynagh2006-10-241-12/+0
|
* More import tidying and fixing the stage 2 buildSimon Marlow2006-10-111-5/+4
|
* Export 'insertSymbol' and 'insertStableSymbol'.Lemmih2006-04-181-1/+25
| | | | | 'insertStableSymbol' is used for exporting closures that are affected by the GC.
* Reorganisation of the source treeSimon Marlow2006-04-071-0/+97
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.