[Bug gcov-profile/48463] gcov does not handle C++ clones (deleting ctors, template instantiations)

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 20 10:55:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48463

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
They basically provide info for all clones of a function:

  ------------------
  | _ZN3FooIfEC2Ev:
  |    6|      2|  {
  |    7|      2|    b = 123;
  |    8|      2|  }
  ------------------
  | _ZN3FooIiEC2Ev:
  |    6|      1|  {
  |    7|      1|    b = 123;
  |    8|      1|  }
  ------------------


More information about the Gcc-bugs mailing list