RE : [GCC-MELT-650] Digest for gcc-melt@googlegroups.com - 1 update in 1 topic

6 views
Skip to first unread message

Basile Starynkevitch

unread,
Dec 22, 2015, 3:47:29 AM12/22/15
to gcc-...@googlegroups.com

Sorry I am on vacation. Will answer after Christmas.

Basile Starynkevitch


Envoyé depuis mon smartphone Samsung Galaxy.


-------- Message d'origine --------
De : gcc-...@googlegroups.com
Date :21/12/2015 20:38 (GMT+01:00)
À : Digest recipients <gcc-...@googlegroups.com>
Cc :
Objet : [GCC-MELT-650] Digest for gcc-...@googlegroups.com - 1 update in 1 topic

Anshuman Dhuliya <anshuma...@gmail.com>: Dec 21 07:21AM -0800

(using ex05 from 'melt-examples' on Githubs here to demonstrate the problem)
 
No matter what I do the debug messages are not showing,
 
These are the command line options the Makefile results in
 
COLLECT_GCC_OPTIONS='-fplugin=melt' '-O' '-v'
'-fplugin-arg-melt-mode=searchfflush'
'-fplugin-arg-melt-workdir=meltworkdir' *'-fplugin-arg-melt-debug'*
'-fplugin-arg-melt-extra=ex05m-searchfflush' '-c' '-mtune=generic'
'-march=x86-64'
 
The option -fplugin-arg-melt-debug has been added to the Makefile.
 
 
##################################
;; PART OF THE CODE EXAMPLE
 
;; the function triggered by our searchfflush
mode
(defun searchfflush_docmd (cmd
moduldata)
(debug ">>>>>>>>>>>>>searchfflush_docmd cmd="
cmd) ; *at least this should be printed!*
(let ( (searchfflushpass (instance
class_gcc_gimple_pass
:named_name
'"searchfflush_pass"
;; a map to register the visited
cfuns
:gccpass_data (make_maptree discr_map_trees
100)
:gccpass_exec
searchfflush_pass_exec))

)
(install_melt_pass_in_gcc searchfflushpass :after '"phiopt"
0)
(debug ">>>>>>>>>>>>>searchfflushpass="
searchfflushpass)
(debug ">>>>>>>>>>>>>searchfflush mode success cmd="
cmd)
(return
:true)

))
##################################
 
 
The Wiki says to set the '--enable-check' option while configuring. Is it
required? If yes then how and where? Why not by default?
 
I need it to experiment with MELT. I don't want to use 'code_chunk' all the
time. :(
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to gcc-melt+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages