svn commit: r273334 - in head/sys: boot/common kern sys

2014-10-20 Thread Marcel Moolenaar
Author: marcel Date: Mon Oct 20 17:04:03 2014 New Revision: 273334 URL: https://svnweb.freebsd.org/changeset/base/273334 Log: Fully support constructors for the purpose of code coverage analysis. This involves: 1. Have the loader pass the start and size of the .ctors section to the

Re: svn commit: r273334 - in head/sys: boot/common kern sys

2014-10-20 Thread Roman Divacky
Note that LLVM appends the priority of the constructors to the name of the .ctors section. Not so when compiling with GCC. The code currently works for GCC and not for LLVM. Uhm? LLVM here creates .ctors section, nothing is appended. Can you be more specific on what you're seing? Roman

Re: svn commit: r273334 - in head/sys: boot/common kern sys

2014-10-20 Thread Marcel Moolenaar
On Oct 20, 2014, at 11:00 AM, Roman Divacky rdiva...@vlakno.cz wrote: Note that LLVM appends the priority of the constructors to the name of the .ctors section. Not so when compiling with GCC. The code currently works for GCC and not for LLVM. Uhm? LLVM here creates .ctors section,