[PATCH] D48538: Make __gcov_flush flush counters for all shared libraries

Marco Castelluccio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 3 09:33:01 PDT 2018


marco-c updated this revision to Diff 153929.
marco-c added a comment.

I've merged all the shared / __gcov_flush tests into a single file and made the test a little more involved by adding a "bar" function in the main file.


https://reviews.llvm.org/D48538

Files:
  lib/profile/GCDAProfiling.c
  test/profile/Inputs/instrprof-dlopen-dlclose-main.c
  test/profile/Inputs/instrprof-dlopen-dlclose-main.c.gcov
  test/profile/Inputs/instrprof-dlopen-func.c.gcov
  test/profile/Inputs/instrprof-dlopen-func2.c.gcov
  test/profile/Inputs/instrprof-shared-lib.c.gcov
  test/profile/Inputs/instrprof-shared-lib_called-twice.c.gcov
  test/profile/Inputs/instrprof-shared-lib_in-loop.c.gcov
  test/profile/Inputs/instrprof-shared-main-gcov-flush.c
  test/profile/Inputs/instrprof-shared-main-gcov-flush_no-writeout.c.gcov
  test/profile/Inputs/instrprof-shared-main-gcov-flush_shared-call-after.c.gcov
  test/profile/Inputs/instrprof-shared-main-gcov-flush_shared-call-before-after.c.gcov
  test/profile/Inputs/instrprof-shared-main-gcov-flush_shared-call-before.c.gcov
  test/profile/Inputs/instrprof-shared-main.c.gcov
  test/profile/instrprof-dlopen-dlclose-gcov.test
  test/profile/instrprof-gcov-two-objects.test
  test/profile/instrprof-shared-gcov-flush.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48538.153929.patch
Type: text/x-patch
Size: 30966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180703/b6a90f97/attachment-0001.bin>


More information about the llvm-commits mailing list