[DebugInfo][clang][DWARF5]: Added support for debuginfo generation for defaulted...
authorAwanish Pandey <Awanish.Pandey@amd.com>
Mon, 2 Mar 2020 05:22:12 +0000 (10:52 +0530)
committerSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Mon, 2 Mar 2020 07:03:05 +0000 (12:33 +0530)
commitc2b437d53d40b6dc5603c97f527398f477d9c5f1
tree17c842f8ddbcde00c058dfa88c17f4bb3d313c35
parentdaab6ad58d4b2c90126efacb836c9286fd85031f
[DebugInfo][clang][DWARF5]: Added support for debuginfo generation for defaulted parameters
in C++ templates.

Summary:
This patch adds support for debuginfo generation for defaulted
parameters in clang and also extends corresponding DebugMetadata/IR to support this feature.

Reviewers: probinson, aprantl, dblaikie

Reviewed By: aprantl, dblaikie

Differential Revision: https://reviews.llvm.org/D73462
13 files changed:
clang/lib/CodeGen/CGDebugInfo.cpp
llvm/include/llvm/IR/DIBuilder.h
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/Bitcode/Reader/MetadataLoader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/IR/AsmWriter.cpp
llvm/lib/IR/DIBuilder.cpp
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/lib/IR/LLVMContextImpl.h
llvm/test/Assembler/DITemplateParameter.ll [new file with mode: 0644]
llvm/test/Bitcode/DITemplateParameter-5.0.ll [new file with mode: 0644]
llvm/unittests/IR/MetadataTest.cpp