[PATCH] D106615: [Clang][LLVM] generate btf_tag annotations for DIComposite types

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 17 21:37:06 PDT 2021


yonghong-song updated this revision to Diff 367109.
yonghong-song edited the summary of this revision.
yonghong-song added a comment.

- do not use replacement-style API to set annotations. use creation-time parameter instead.
- add a test case to show forward declaration doesn't generate btf_tag annotations.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106615/new/

https://reviews.llvm.org/D106615

Files:
  clang/lib/CodeGen/CGDebugInfo.cpp
  clang/lib/CodeGen/CGDebugInfo.h
  clang/test/CodeGen/attr-btf_tag-dicomposite-2.c
  clang/test/CodeGen/attr-btf_tag-dicomposite.c
  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/Bitcode/attr-btf_tag-dicomposite.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106615.367109.patch
Type: text/x-patch
Size: 24866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210818/07976a59/attachment-0001.bin>


More information about the cfe-commits mailing list