[PATCH] D15997: [GCOV] Avoid emitting profile arcs for module and skeleton CU's

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 13:13:56 PST 2016


aprantl added inline comments.

================
Comment at: lib/Transforms/Instrumentation/GCOVProfiling.cpp:498
@@ +497,3 @@
+
+    // Skip module and skeleton CU's.
+    if (CU->getDWOId())
----------------
```
// Skip module and module skeleton CUs.
```
would be more accurate. Regular split-dwarf skeleton CUs won't (and shouldn't) be affected because they are generated later and don't exist in the IR.


http://reviews.llvm.org/D15997





More information about the llvm-commits mailing list