Skip to content

Commit

Permalink
rename symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
shayne-fletcher committed Oct 22, 2024
1 parent 4298fd3 commit e11776d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ghc-lib-gen/src/Ghclibgen.hs
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,15 @@ mangleCSymbols ghcFlavor = do
let initGenSym = "initGenSym"
let enableTimingStats = "enableTimingStats"
let setHeapSize = "setHeapSize"
let keepCAFsForGHCi = "keepCAFsForGHCi"
let file = "compiler/cbits/keepCAFsForGHCi.c"
in writeFile file
. prefixSymbol keepCAFsForGHCi
=<< readFile' file
let file = "compiler/GHC.hs"
in writeFile file
. prefixForeignImport keepCAFsForGHCi
=<< readFile' file
let file = "compiler/cbits/genSym.c"
in writeFile file
. prefixSymbol genSym
Expand Down

0 comments on commit e11776d

Please sign in to comment.