llvm-mirror/include/llvm
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
..
ADT Workaround a limitation of llvm::Any when used with types that have 2018-09-19 20:45:09 +00:00
Analysis Temporarily Revert "[New PM] Introducing PassInstrumentation framework" 2018-09-20 05:16:29 +00:00
AsmParser Fix -Wdocumentation warnings. NFCI. 2018-07-12 09:10:55 +00:00
BinaryFormat [WebAssembly] clang-format (NFC) 2018-09-05 01:27:38 +00:00
Bitcode [x86/SLH] Add a real Clang flag and LLVM IR attribute for Speculative 2018-09-04 12:38:00 +00:00
CodeGen Copy utilities updated and added for MI flags 2018-09-19 18:52:08 +00:00
Config Add cmake option to disable minidumps, default it to off 2018-08-20 16:49:54 +00:00
DebugInfo [DWARF Verifier] Add helper function to dump DIEs. [NFC] 2018-09-19 08:08:13 +00:00
Demangle Update microsoftDemangle() to work more like itaniumDemangle(). 2018-09-15 18:24:20 +00:00
ExecutionEngine [LLJIT] Add API to expose linking layer from LLJIT classes 2018-09-19 18:29:58 +00:00
FuzzMutate [llvm-opt-fuzzer] Avoid adding incorrect inputs to the fuzzer corpus 2018-02-05 11:05:47 +00:00
IR [IR] Add a boolean field in DILocation to know if a line must covered or not 2018-09-20 08:53:06 +00:00
IRReader LLParser: add an argument for overriding data layout and do not check alloca addr space 2018-01-30 22:32:39 +00:00
LineEditor Apply clang-tidy's misc-move-constructor-init throughout LLVM. 2016-05-27 14:27:24 +00:00
Linker Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
LTO Reland r342233: [ThinLTO] Allow setting of maximum cache size with 64-bit number 2018-09-17 10:21:26 +00:00
MC Fix for bug 34002 - label generated before it block is finalized. Differential Revision: https://reviews.llvm.org/D52258 2018-09-20 05:11:42 +00:00
Object [PDB] Emit old fpo data to the PDB file. 2018-09-12 21:02:01 +00:00
ObjectYAML [yaml2obj] - Add a support for changing EntSize. 2018-08-07 08:11:38 +00:00
Option [Option] Remove an unnecessary conversion function. 2018-05-05 06:05:31 +00:00
Passes Temporarily Revert "[New PM] Introducing PassInstrumentation framework" 2018-09-20 05:16:29 +00:00
ProfileData [SampleFDO] Add FunctionOffsetTable in compact binary format profile. 2018-09-14 20:52:59 +00:00
Support Remove dead function user_cache_directory() 2018-09-18 15:06:16 +00:00
TableGen [TableGen] Add a general-purpose JSON backend. 2018-07-11 08:40:19 +00:00
Target [TableGen][SubtargetEmitter] Add the ability for processor models to describe dependency breaking instructions. 2018-09-19 15:57:45 +00:00
Testing/Support Add missing #include for Testing/Support/SupportHelpers.h 2018-09-06 20:01:06 +00:00
ToolDrivers llvm: add llvm-dlltool support to the archiver 2017-07-18 21:26:38 +00:00
Transforms Temporarily Revert "[New PM] Introducing PassInstrumentation framework" 2018-09-20 05:16:29 +00:00
WindowsManifest Fix bug 34608 by moving private header out of public header. 2017-09-14 23:01:13 +00:00
WindowsResource [llvm-readobj] Teach readobj to dump .res files (WindowsResource). 2017-09-20 18:33:35 +00:00
XRay [XRay][compiler-rt] FDRLogWriter Abstraction 2018-09-20 05:22:37 +00:00
CMakeLists.txt Support: Add a VCSRevision.h header file. 2017-04-13 01:26:12 +00:00
InitializePasses.h Hot cold splitting pass 2018-09-07 15:03:49 +00:00
LinkAllIR.h Remove trailing space 2018-07-30 19:41:25 +00:00
LinkAllPasses.h [PGO] Control Height Reduction 2018-09-04 17:19:13 +00:00
module.modulemap Add new .def file introduced for BinaryFormat/MsgPack 2018-08-23 02:01:30 +00:00
module.modulemap.build [Modules] Add module for Config/llvm-config.h 2017-10-24 06:18:52 +00:00
Pass.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
PassAnalysisSupport.h Remove trailing space 2018-07-30 19:41:25 +00:00
PassInfo.h [Pass] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-09-06 23:05:38 +00:00
PassRegistry.h Remove trailing space 2018-07-30 19:41:25 +00:00
PassSupport.h [Pass] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-09-06 23:05:38 +00:00