GCC6.3.0, compile flags -fprofile-arcs -ftest-coverage not generating gdca files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Simple code, which generates gdca files after executing which is
produced with GCC4.1.2 does not generate gdca files after executing
exe which is produced with GCC6.3.0.

Any hint what to check why is the GCC6.3.0 produced exe not generating
gdca files?
Dump of the GCC6.3.0 generated exe shows no gcov code in it:

    3143: e8 28 00 00 00        call   3170 <__gcov_init>
    3148: 83 c4 08              add    $0x8,%esp
    314b: 8b 5d fc              mov    -0x4(%ebp),%ebx
    314e: c9                    leave
    314f: c3                    ret
00003150 <__gcov_merge_add>:
    3150: f3 c3                 repz ret
    3152: 66 90                 xchg   %ax,%ax
    3154: 66 90                 xchg   %ax,%ax
    3156: 66 90                 xchg   %ax,%ax
    3158: 66 90                 xchg   %ax,%ax
    315a: 66 90                 xchg   %ax,%ax
    315c: 66 90                 xchg   %ax,%ax
    315e: 66 90                 xchg   %ax,%ax
00003160 <__gcov_flush>:
    3160: f3 c3                 repz ret
    3162: 66 90                 xchg   %ax,%ax
    3164: 66 90                 xchg   %ax,%ax
    3166: 66 90                 xchg   %ax,%ax
    3168: 66 90                 xchg   %ax,%ax
    316a: 66 90                 xchg   %ax,%ax
    316c: 66 90                 xchg   %ax,%ax
    316e: 66 90                 xchg   %ax,%ax
00003170 <__gcov_init>:
    3170: f3 c3                 repz ret
    3172: 66 90                 xchg   %ax,%ax
    3174: 66 90                 xchg   %ax,%ax
    3176: 66 90                 xchg   %ax,%ax
    3178: 66 90                 xchg   %ax,%ax
    317a: 66 90                 xchg   %ax,%ax
    317c: 66 90                 xchg   %ax,%ax
    317e: 66 90                 xchg   %ax,%ax

Does anybody else have the same issue?



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux