summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-01-20 02:31:25 +0000
committerVedant Kumar <vsk@apple.com>2016-01-20 02:31:25 +0000
commit0b9df44cf1ed99114178eb61a186118afc12cee9 (patch)
treeb827023b74ad00d3cf2e4549bdb59836386ec328
parentb41632bf0fa236693ba0dfd9616113034e12c12c (diff)
downloadbcm5719-llvm-0b9df44cf1ed99114178eb61a186118afc12cee9.tar.gz
bcm5719-llvm-0b9df44cf1ed99114178eb61a186118afc12cee9.zip
[test] Add a short explanation to instrprof-comdat.h
llvm-svn: 258274
-rw-r--r--compiler-rt/test/profile/Inputs/instrprof-comdat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/profile/Inputs/instrprof-comdat.h b/compiler-rt/test/profile/Inputs/instrprof-comdat.h
index e1227167cd4..db1a5ba63e5 100644
--- a/compiler-rt/test/profile/Inputs/instrprof-comdat.h
+++ b/compiler-rt/test/profile/Inputs/instrprof-comdat.h
@@ -1,3 +1,7 @@
+// Template instantiations are placed into comdat sections. Check that
+// coverage data from different instantiations are mapped back to the correct
+// source regions.
+
template <class T> class FOO {
public:
FOO() : t(0) {}
OpenPOWER on IntegriCloud