<div dir="ltr"><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM" style="margin:0px;padding:0px 0px 0.25em;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:14px;line-height:inherit;font-family:"Noto Sans",Arial,sans-serif;vertical-align:baseline;color:rgb(26,26,27)">I am using Haskell Program Coverage (HPC) to collect coverage information for Pandoc (<a href="https://github.com/jgm/pandoc" class="gmail-_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener noreferrer" target="_blank" style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">https://github.com/jgm/pandoc</a>). However, after adding the -fhpc option to GHC and running the program, two .tix files are generated. One is test-pandoc.tix in the main directory and the other is pandoc.tix under the "test" directory (test/pandoc.tix). These two files have different contents and I just cannot see the meaning of them from their names. Moreover, I tried to execute "hpc show xxx.tix" for them and test/pandoc.tix gives "hpc: hash in tix file for module Main does not match hash in ./.hpc/Main.mix".</p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM" style="margin:0px;padding:0.8em 0px 0.25em;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:14px;line-height:inherit;font-family:"Noto Sans",Arial,sans-serif;vertical-align:baseline;color:rgb(26,26,27)">So, I wonder the specific generation rules of HPC tix files (possibly including the number and location) and how I can get the correct coverage information.</p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM" style="margin:0px;padding:0.8em 0px 0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:14px;line-height:inherit;font-family:"Noto Sans",Arial,sans-serif;vertical-align:baseline;color:rgb(26,26,27)">Thanks very much!</p></div>