llvm-project/llvm/unittests/ProfileData
Vedant Kumar e44e0be818 [PGO] Fix name encoding for ObjC-like functions
Function names in ObjC can have spaces in them. This interacts poorly
with name compression, which uses spaces to separate PGO names. Fix the
issue by using a different separator and update a test.

I chose "\01" as the separator because 1) it's non-printable, 2) we
strip it from PGO names, and 3) it's the next natural choice once "\00"
is discarded (that one's overloaded).

Differential Revision: http://reviews.llvm.org/D18516

llvm-svn: 264587
2016-03-28 15:52:08 +00:00
..
CMakeLists.txt [ProfileData] Add unit test infrastructure for sample profile reader/writer 2015-12-10 17:21:42 +00:00
CoverageMappingTest.cpp [Coverage] Strip <unknown> from PGO names if no filenames are available 2016-03-28 15:49:08 +00:00
InstrProfTest.cpp [PGO] Fix name encoding for ObjC-like functions 2016-03-28 15:52:08 +00:00
SampleProfTest.cpp Interface to get/set profile summary metadata to module 2016-03-18 21:29:30 +00:00