yes, I run GCMole with Lua script, but innner the script it executes the 
command about clang.
The command run clang with the plugin libgcmole.so, so that to find the 
problems about GC unsafe.
It is just there, the error occurs.

Have you ran GCMole successfully ?Please heap me.

Thank you very much!

===================================================================
gcmole.lua

local function MakeClangCommandLine(plugin, plugin_args, triple, 
arch_define)
   if plugin_args then
     for i = 1, #plugin_args do
        plugin_args[i] = "-plugin-arg-" .. plugin .. " " .. plugin_args[i]
     end
     plugin_args = " " .. table.concat(plugin_args, " ")
   end
   return CLANG_BIN .. "/clang -cc1 -load " .. CLANG_PLUGINS .. 
"/libgcmole.so"
      .. " -plugin "  .. plugin
      .. (plugin_args or "")
      .. " -triple " .. triple
      .. " -D" .. arch_define
      .. " -DENABLE_DEBUGGER_SUPPORT"
      .. " -DV8_I18N_SUPPORT"
      .. " -Isrc"
  .. " -I."
      .. " -Ithird_party/icu/source/common"
      .. " -Ithird_party/icu/source/i18n" 
end

On Wednesday, August 27, 2014 3:39:35 PM UTC+8, Sven Panne wrote:
>
> On Wed, Aug 27, 2014 at 3:43 AM, Liu Xiao <[email protected] 
> <javascript:>> wrote:
>
>> [...] But there are some problems when I run GCMole: [...]
>>
>
> I don't fully understand how you try to run GCMole: Unless you really know 
> what you're doing, you should only run it via the Lua script. In that case, 
> you don't have to worry about include paths, etc.
>  

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to