Recommit "[DWARF5]Addition of alignment atrribute in typedef DIE."
authorSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Tue, 3 Dec 2019 03:59:54 +0000 (09:29 +0530)
committerSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Tue, 3 Dec 2019 04:21:43 +0000 (09:51 +0530)
commitf1e3988aa6016188c376b9bcca1afc7559f9fbc0
treed43635bf7de1a036b7663bfbf7639817defe9200
parent3f3d0f4f4be04f2dae219c0fe76562eb01ba06d2
Recommit "[DWARF5]Addition of alignment atrribute in typedef DIE."

This revision is revised to update Go-bindings and Release Notes.

The original commit message follows.

This patch, adds support for DW_AT_alignment[DWARF5] attribute, to be emitted with typdef DIE.
When explicit alignment is specified.

Patch by Awanish Pandey <Awanish.Pandey@amd.com>

Reviewers: aprantl, dblaikie, jini.susan.george, SouraVX, alok,
deadalinx

Differential Revision: https://reviews.llvm.org/D70111
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGenCXX/debug-info-template-align.cpp [new file with mode: 0644]
llvm/bindings/go/llvm/dibuilder.go
llvm/docs/ReleaseNotes.rst
llvm/include/llvm-c/DebugInfo.h
llvm/include/llvm/IR/DIBuilder.h
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/IR/DIBuilder.cpp
llvm/lib/IR/DebugInfo.cpp
llvm/test/DebugInfo/X86/debug-info-template-align.ll [new file with mode: 0644]
llvm/tools/llvm-c-test/debuginfo.c