[PATCH] D146595: [clang] Add clang trampoline attribute

Augusto Noronha via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 21 17:12:48 PDT 2023


augusto2112 created this revision.
augusto2112 added reviewers: aprantl, arphaman, jingham.
Herald added a subscriber: hiraditya.
Herald added a reviewer: aaron.ballman.
Herald added a project: All.
augusto2112 requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

Add a trampoline attribute to clang, which indicates to debuggers that
stepping into the function should jump to the argument passed in the
attribute instead.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146595

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Sema/Sema.h
  clang/lib/CodeGen/CGDebugInfo.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/CodeGen/attr-trampoline-method.cpp
  clang/test/CodeGen/attr-trampoline.c
  llvm/include/llvm/IR/DIBuilder.h
  llvm/lib/CodeGen/MachineOutliner.cpp
  llvm/lib/IR/DIBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146595.507186.patch
Type: text/x-patch
Size: 13237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/da620ba5/attachment.bin>


More information about the llvm-commits mailing list