Index: tools/gcmole/gcmole.lua |
diff --git a/tools/gcmole/gcmole.lua b/tools/gcmole/gcmole.lua |
index f8d3b6204a2cfabf62a5cc2a0ef67e38f71300bc..09db54754f8e9099bad568610f29018ea85f31db 100644 |
--- a/tools/gcmole/gcmole.lua |
+++ b/tools/gcmole/gcmole.lua |
@@ -106,7 +106,6 @@ function InvokeClangPluginForEachFile(filenames, cfg, func) |
cfg.plugin_args, |
cfg.triple, |
cfg.arch_define) |
- |
for _, filename in ipairs(filenames) do |
log("-- %s", filename) |
local action = cmd_line .. " src/" .. filename .. " 2>&1" |
@@ -218,7 +217,13 @@ local WHITELIST = { |
-- Callsites of such functions are safe as long as they are properly |
-- check return value and propagate the Failure to the caller. |
-- It should be possible to extend GCMole to understand this. |
- "Heap.*AllocateFunctionPrototype" |
+ "Heap.*AllocateFunctionPrototype", |
+ |
+ -- Ignore all StateTag methods. |
+ "StateTag", |
+ |
+ -- Ignore printing of elements transition. |
+ "PrintElementsTransition" |
}; |
local function AddCause(name, cause) |