1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/AsmParser
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
..
CMakeLists.txt
LLLexer.cpp [AArch64] Add parsing of aarch64_vector_pcs attribute. 2018-09-12 08:54:06 +00:00
LLLexer.h [AsmParser] Fix inconsistent declaration parameter name 2018-07-12 02:03:53 +00:00
LLParser.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
LLParser.h Allow creating llvm::Function in non-zero address spaces 2018-08-23 09:25:17 +00:00
LLToken.h [AArch64] Add parsing of aarch64_vector_pcs attribute. 2018-09-12 08:54:06 +00:00
LLVMBuild.txt
Parser.cpp