Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
4df96993
by Cheng Shao at 2026-01-07T10:27:08-05:00
1 changed file:
Changes:
| ... | ... | @@ -169,10 +169,10 @@ werror = |
| 169 | 169 | -- | Build C and Haskell objects with debugging information.
|
| 170 | 170 | enableDebugInfo :: Flavour -> Flavour
|
| 171 | 171 | enableDebugInfo = addArgs $ notStage0 ? mconcat
|
| 172 | - [ builder (Ghc CompileHs) ? pure ["-g3"]
|
|
| 173 | - , builder (Ghc CompileCWithGhc) ? pure ["-optc-g3"]
|
|
| 174 | - , builder (Ghc CompileCppWithGhc) ? pure ["-optcxx-g3"]
|
|
| 175 | - , builder (Cc CompileC) ? arg "-g3"
|
|
| 172 | + [ builder (Ghc CompileHs) ? pure ["-g3", "-optc-fno-omit-frame-pointer"]
|
|
| 173 | + , builder (Ghc CompileCWithGhc) ? pure ["-optc-g3", "-optc-fno-omit-frame-pointer"]
|
|
| 174 | + , builder (Ghc CompileCppWithGhc) ? pure ["-optcxx-g3", "-optcxx-fno-omit-frame-pointer"]
|
|
| 175 | + , builder (Cc CompileC) ? pure ["-g3", "-fno-omit-frame-pointer"]
|
|
| 176 | 176 | , builder (Cabal Setup) ? arg "--disable-library-stripping"
|
| 177 | 177 | , builder (Cabal Setup) ? arg "--disable-executable-stripping"
|
| 178 | 178 | ]
|