From f422d7449b8a67a92af423413f494db91d9712fd Mon Sep 17 00:00:00 2001 From: fanfuqiang Date: Tue, 2 Oct 2018 23:07:27 +0800 Subject: [PATCH] add code disable dominatice info --- src/rap_plugin/rap-fe-cfi.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/rap_plugin/rap-fe-cfi.c b/src/rap_plugin/rap-fe-cfi.c index 5ca1c4d..79aa041 100644 --- a/src/rap_plugin/rap-fe-cfi.c +++ b/src/rap_plugin/rap-fe-cfi.c @@ -356,6 +356,9 @@ create: /* Build cfi hash tree, target or source depend on the argument. ??? should we reuse the tree node. */ +// set_dom_info_availability (enum cdi_direction dir, enum dom_state new_state) +//free_dominance_info (enum cdi_direction dir) + static tree build_cfi_hash_tree (gimple cs, int direct) { @@ -505,6 +508,10 @@ rap_fe_cfi_execute () } } + // Force the dominate info of current function recompute. + free_dominance_info (CDI_DOMINATORS); + free_dominance_info (CDI_POST_DOMINATORS); + pop_cfun (); } //indirect_function_maps = pointer_map_create ();