Add a test with __gcov_flush called before terminating the program.
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Mon, 16 Jul 2018 09:13:46 +0000 (09:13 +0000)
committerMarco Castelluccio <mcastelluccio@mozilla.com>
Mon, 16 Jul 2018 09:13:46 +0000 (09:13 +0000)
commit0a75de4bfe51ea27465123965f02caa6bd00c197
tree63d29f26d402da6a6af88e8bf6761c233ed96942
parentf854ce84c4cc676ff16adbe819db3bcfd325dabf
Add a test with __gcov_flush called before terminating the program.

Test for https://bugs.llvm.org/show_bug.cgi?id=38067.

llvm-svn: 337150
compiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-terminate.c [new file with mode: 0644]
compiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-terminate.c.gcov [new file with mode: 0644]
compiler-rt/test/profile/instrprof-gcov-__gcov_flush-terminate.test [new file with mode: 0644]