diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-05-07 19:01:37 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-13 02:13:02 -0400 |
commit | 8dc71f5577a541168951371bd55b51a588b57813 (patch) | |
tree | 8f821274d3b5a7a9a8595c3c4091a18d2257a5eb /compiler/GHC/SysTools | |
parent | 72d086106d49bc18277f3a066e671e87e9b37a1b (diff) | |
download | haskell-8dc71f5577a541168951371bd55b51a588b57813.tar.gz |
Rename unsafeGetUnitInfo into unsafeLookupUnit
Diffstat (limited to 'compiler/GHC/SysTools')
-rw-r--r-- | compiler/GHC/SysTools/ExtraObj.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/SysTools/ExtraObj.hs b/compiler/GHC/SysTools/ExtraObj.hs index 453dc83996..b0949ee889 100644 --- a/compiler/GHC/SysTools/ExtraObj.hs +++ b/compiler/GHC/SysTools/ExtraObj.hs @@ -55,7 +55,7 @@ mkExtraObj dflags extn xs -- set of include directories and PIC flags. cOpts = map Option (picCCOpts dflags) ++ map (FileOption "-I") - (unitIncludeDirs $ unsafeGetUnitInfo dflags rtsUnitId) + (unitIncludeDirs $ unsafeLookupUnit dflags rtsUnitId) -- When compiling assembler code, we drop the usual C options, and if the -- compiler is Clang, we add an extra argument to tell Clang to ignore |