Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/d97150415573ce3264d097ae4c56d98408c70eb4

>---------------------------------------------------------------

commit d97150415573ce3264d097ae4c56d98408c70eb4
Author: David Terei <[email protected]>
Date:   Sat Aug 20 18:32:40 2011 -0700

    Add debugllvm target

>---------------------------------------------------------------

 config/ghc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/config/ghc b/config/ghc
index 4c614d5..b0e08b1 100644
--- a/config/ghc
+++ b/config/ghc
@@ -27,7 +27,7 @@ config.other_ways            = ['extcore','optextcore',
                                 'prof_hd','prof_hy','prof_hr',
                                 'threaded1_ls',
                                 'threaded2_hT',
-                                'llvm']
+                                'llvm', 'debugllvm']
 
 if (ghc_with_native_codegen == 1):
        config.compile_ways.append('optasm')
@@ -68,6 +68,7 @@ config.way_flags = {
         'optasm'     : ['-O -fasm'],
        'llvm'       : ['-fllvm'],
        'optllvm'    : ['-O -fllvm'],
+       'debugllvm'    : ['-fllvm -keep-llvm-files'],
        'profasm'    : ['-O -prof -auto-all -fasm'],
        'profthreaded' : ['-O -prof -auto-all -fasm -threaded'],
        'ghci'       : ['--interactive', '-v0', '-ignore-dot-ghci', '+RTS', 
'-I0.1', '-RTS'],
@@ -92,6 +93,7 @@ config.way_rts_flags = {
         'optasm'     : [],
        'llvm'       : [],
        'optllvm'    : [],
+       'debugllvm'  : [],
        'profasm'    : ['-hc'], # test heap profiling too
        'profthreaded' : ['-p'],
        'ghci'       : [],



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to