[PATCH] D123697: [DebugInfo] Add a TargetFuncName field in DISubprogram.

Chih-Ping Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 11:06:14 PDT 2022


cchen15 created this revision.
cchen15 added a reviewer: aprantl.
Herald added subscribers: dexonsmith, hiraditya.
Herald added a project: All.
cchen15 requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

The new field is for specifying DW_AT_trampoline as a string. Also update the signature of DIBuilder::createFunction to reflect this addition.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123697

Files:
  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/CodeGen/AsmPrinter/DwarfUnit.cpp
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/IR/DIBuilder.cpp
  llvm/lib/IR/DebugInfoMetadata.cpp
  llvm/lib/IR/LLVMContextImpl.h
  llvm/test/Bitcode/DISubprogram-targetfuncname.ll
  llvm/test/DebugInfo/X86/disubprogram-trampoline.ll
  llvm/unittests/IR/MetadataTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123697.422568.patch
Type: text/x-patch
Size: 29821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220413/1ae9e8ee/attachment.bin>


More information about the llvm-commits mailing list