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. |