[PATCH] D42350: Add constructor DWARF calling convention for every supported LLVM CC

Adrien Guinet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 21 03:49:02 PST 2018


aguinet created this revision.
aguinet added a reviewer: rnk.
Herald added subscribers: JDevlieghere, aprantl.

This is also associated with a clang commit that uses them to emit every supported clang/llvm CC in dwarf informations!


Repository:
  rL LLVM

https://reviews.llvm.org/D42350

Files:
  include/llvm/BinaryFormat/Dwarf.def


Index: include/llvm/BinaryFormat/Dwarf.def
===================================================================
--- include/llvm/BinaryFormat/Dwarf.def
+++ include/llvm/BinaryFormat/Dwarf.def
@@ -705,6 +705,17 @@
 HANDLE_DW_CC(0xb5, BORLAND_thiscall)
 HANDLE_DW_CC(0xb6, BORLAND_fastcall)
 HANDLE_DW_CC(0xc0, LLVM_vectorcall)
+HANDLE_DW_CC(0xc1, LLVM_Win64)
+HANDLE_DW_CC(0xc2, LLVM_X86_64SysV)
+HANDLE_DW_CC(0xc3, LLVM_AAPCS)
+HANDLE_DW_CC(0xc4, LLVM_AAPCS_VFP)
+HANDLE_DW_CC(0xc5, LLVM_IntelOclBicc)
+HANDLE_DW_CC(0xc6, LLVM_SpirFunction)
+HANDLE_DW_CC(0xc7, LLVM_OpenCLKernel)
+HANDLE_DW_CC(0xc8, LLVM_Swift)
+HANDLE_DW_CC(0xc9, LLVM_PreserveMost)
+HANDLE_DW_CC(0xca, LLVM_PreserveAll)
+HANDLE_DW_CC(0xcb, LLVM_X86RegCall)
 
 // Line Number Extended Opcode Encodings
 HANDLE_DW_LNE(0x01, end_sequence)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42350.130804.patch
Type: text/x-patch
Size: 804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180121/f8054e28/attachment.bin>


More information about the llvm-commits mailing list