1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/Bitcode/Writer
Calixte Denizet 79a1f91df9 [IR] Add a boolean field in DILocation to know if a line must covered or not
Summary:
Some lines have a hit counter where they should not have one.
For example, in C++, some cleanup is adding at the end of a scope represented by a '}'.
So such a line has a hit counter where a user expects to not have one.
The goal of the patch is to add this information in DILocation which is used to get the covered lines in GCOVProfiling.cpp.
A following patch in clang will add this information when generating IR (https://reviews.llvm.org/D49916).

Reviewers: marco-c, davidxl, vsk, javed.absar, rnk

Reviewed By: rnk

Subscribers: eraman, xur, danielcdh, aprantl, rnk, dblaikie, #debug-info, vsk, llvm-commits, sylvestre.ledru

Tags: #debug-info

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

llvm-svn: 342631
2018-09-20 08:53:06 +00:00
..
BitcodeWriter.cpp [IR] Add a boolean field in DILocation to know if a line must covered or not 2018-09-20 08:53:06 +00:00
BitcodeWriterPass.cpp [Debugify] Don't apply DI before the bitcode writer pass 2018-06-04 00:11:49 +00:00
BitWriter.cpp Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
CMakeLists.txt
LLVMBuild.txt Add missing library dependency. 2017-06-28 00:05:27 +00:00
ValueEnumerator.cpp [STLExtras] Add distance() for ranges, pred_size(), and succ_size() 2018-05-10 23:01:54 +00:00
ValueEnumerator.h Modularize: Include some required headers 2017-11-03 20:24:19 +00:00