1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/unittests/ProfileData
Vedant Kumar 5dd7f329b9 [Coverage] PR33517: Check for failure to load func records
With PR33517, it became apparent that symbol table creation can fail
when presented with malformed inputs. This patch makes that sort of
error detectable, so llvm-cov etc. can fail more gracefully.

Specifically, we now check that function records loaded from corrupted coverage
mapping data are rejected, e.g when the recorded function name is garbage.

Testing: check-{llvm,clang,profile}, some unit test updates.
llvm-svn: 305767
2017-06-20 02:05:35 +00:00
..
CMakeLists.txt Revert r269131 2016-05-10 23:26:04 +00:00
CoverageMappingTest.cpp [Coverage] PR33517: Check for failure to load func records 2017-06-20 02:05:35 +00:00
InstrProfTest.cpp [ProfileData] PR33517: Check for failure of symtab creation 2017-06-20 01:38:56 +00:00
SampleProfTest.cpp Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00