[llvm-bugs] [Bug 34255] New: llvm-cov: Coverage for destructors wrong with optimizations
llvm-bugs at lists.llvm.org
Mon Aug 21 05:25:36 PDT 2017
Bug ID: 34255
Summary: llvm-cov: Coverage for destructors wrong with
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dennis.felsing at sap.com
CC: llvm-bugs at lists.llvm.org
Created attachment 19018
Example code, compile with -O1
With -O0 the destructor is covered, while with -O1 and higher it is not. This
forces me to run coverage code with -O0. Minimal example attached. I would
expect the destructor to always be covered.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs