File: 0001-llvmGen-Add-export-list-to-GHC.Llvm.MetaData.patch

package info (click to toggle)
ghc 9.8.4-0~0exp3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 163,796 kB
  • sloc: haskell: 666,686; ansic: 83,178; cpp: 11,812; javascript: 8,742; sh: 8,130; fortran: 3,527; python: 3,214; asm: 2,523; makefile: 2,321; yacc: 1,570; lisp: 532; xml: 196; perl: 145; csh: 2
file content (31 lines) | stat: -rw-r--r-- 830 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Origin: https://github.com/ghc/ghc/commit/e8b4aac437b2620d93546a57eb5818f317a4549e
From fcfc1777c22ad47613256c3c5e7304cfd29bc761 Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Tue, 22 Aug 2023 12:23:26 -0400
Subject: [PATCH] llvmGen: Add export list to GHC.Llvm.MetaData

---
 compiler/GHC/Llvm/MetaData.hs | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/compiler/GHC/Llvm/MetaData.hs b/compiler/GHC/Llvm/MetaData.hs
index 3f8818ee45..2ad759fba8 100644
--- a/compiler/GHC/Llvm/MetaData.hs
+++ b/compiler/GHC/Llvm/MetaData.hs
@@ -1,6 +1,12 @@
 {-# LANGUAGE GeneralizedNewtypeDeriving #-}
 
-module GHC.Llvm.MetaData where
+module GHC.Llvm.MetaData
+  ( MetaId(..)
+  , ppMetaId
+  , MetaExpr(..)
+  , MetaAnnot(..)
+  , MetaDecl(..)
+  ) where
 
 import GHC.Prelude
 
-- 
2.25.1