[PATCH] D75181: [Clang][AArch64] Add default arguments to runtime functions.

Daniel Kiss via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 26 07:46:15 PST 2020


danielkiss created this revision.
danielkiss added reviewers: chill, pcc, olista01, asl.
Herald added subscribers: cfe-commits, aheejin, kristof.beyls, sbc100.
Herald added a reviewer: jdoerfert.
Herald added a project: clang.

A runtime function needs the same arguments as normal function. 
Attributes of PAuth and BTI are added to the default arguments.
Function level attribute handling is adopted.
After this change the all runtime created functions like _clang_call_terminate
will get the default arguments including PAC/BTI if applicable.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75181

Files:
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/CodeGen/TargetInfo.cpp
  clang/test/CodeGen/ignore-exceptions.cpp
  clang/test/CodeGenCXX/aarch64-branch-target_clang_call_terminate.cpp
  clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp
  clang/test/CodeGenCXX/dynamic-cast.cpp
  clang/test/CodeGenCXX/exceptions.cpp
  clang/test/CodeGenCXX/runtimecc.cpp
  clang/test/CodeGenCXX/wasm-eh.cpp
  clang/test/CodeGenObjC/arc.m
  clang/test/CodeGenObjC/attr-objc-runtime-visible.m
  clang/test/CodeGenObjC/class-stubs.m
  clang/test/CodeGenObjC/nonlazy-msgSend.m
  clang/test/CodeGenObjC/objc-literal-debugger-test.m
  clang/test/OpenMP/barrier_codegen.cpp
  clang/test/OpenMP/nvptx_parallel_codegen.cpp
  clang/test/OpenMP/openmp_win_codegen.cpp
  clang/test/PCH/objc_container.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75181.246724.patch
Type: text/x-patch
Size: 15677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200226/b1028e45/attachment-0001.bin>


More information about the cfe-commits mailing list