The patch also fixed undefined reference symbol seen with max partitioning
on a testcase.
Here we fold through a reference to constant variable into a reference to
constant pool.
Since initializer of the constant variable is not seen by the partitioner,
we do not
duplicate the
Hi,
this patch unifies the code as promised in the previous patch. It also cleans
up the APIs. We now have enum symbol_class specifying how the symbol should be
handled and add_symbol_to_partition handling all the magic of what needs to be
dragged into partition and what not.
I also commonized