[PATCH] D106618: [Clang][LLVM] generate btf_tag annotations for DISubprogram types

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 25 18:27:04 PDT 2021


yonghong-song updated this revision to Diff 368789.
yonghong-song added a comment.

- add annotations to DISubprogram generated for extern functions called in the current cu and add a test for that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106618

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106618.368789.patch
Type: text/x-patch
Size: 22188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210826/534fba3c/attachment-0001.bin>


More information about the cfe-commits mailing list