llvm/unittests/ProfileData
Mircea Trofin 66677152d0 [InstrProf] Support for external functions in text format.
Summary:
External functions appearing as indirect call targets could not be
found in the SymTab, and the value:counter record was represented,
in the text format, using an empty string for the name. This would
then cause a silent parsing error when reading.

This CL:
- adds explicit support for such functions
- fixes the places where we would not propagate errors when reading
- addresses a performance issue due to eager resorting of the SymTab.

Reviewers: xur, eraman, davidxl

Reviewed By: davidxl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D44717

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328132 91177308-0d34-0410-b5e6-96231b3b80d8
2018-03-21 19:06:06 +00:00
..
CMakeLists.txt [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
CoverageMappingTest.cpp [Coverage] Scan ahead for the most-recent completed count (PR35495) 2017-12-07 00:01:15 +00:00
InstrProfTest.cpp [InstrProf] Support for external functions in text format. 2018-03-21 19:06:06 +00:00
SampleProfTest.cpp [SampleFDO] Extend SampleProfReader to handle demangled names. 2018-03-07 16:45:33 +00:00