From aae6234255311ce64facefa4a4d332c68542d3b3 Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 3 Oct 2013 20:38:57 +0000 Subject: Pull in r189644 from upstream llvm trunk: Add ms_abi and sysv_abi attribute handling. Based on a patch by Benno Rice! This will help to develop EFI support. Approved by: re (kib) Verified by: benno MFC after: 1 week --- contrib/llvm/lib/IR/AsmWriter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib/llvm/lib/IR') diff --git a/contrib/llvm/lib/IR/AsmWriter.cpp b/contrib/llvm/lib/IR/AsmWriter.cpp index 7761127d..a78b19c 100644 --- a/contrib/llvm/lib/IR/AsmWriter.cpp +++ b/contrib/llvm/lib/IR/AsmWriter.cpp @@ -81,6 +81,8 @@ static void PrintCallingConv(unsigned cc, raw_ostream &Out) { case CallingConv::MSP430_INTR: Out << "msp430_intrcc"; break; case CallingConv::PTX_Kernel: Out << "ptx_kernel"; break; case CallingConv::PTX_Device: Out << "ptx_device"; break; + case CallingConv::X86_64_SysV: Out << "x86_64_sysvcc"; break; + case CallingConv::X86_64_Win64: Out << "x86_64_win64cc"; break; } } -- cgit v1.1