summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/IR/AsmWriter.cpp
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-10-03 20:38:57 +0000
committerdim <dim@FreeBSD.org>2013-10-03 20:38:57 +0000
commitaae6234255311ce64facefa4a4d332c68542d3b3 (patch)
tree2d1dccc02cf12c36278f038437b6db16675cd56e /contrib/llvm/lib/IR/AsmWriter.cpp
parent5dc4bb5bd3d0e995e13054a94b6d63490561ed9c (diff)
downloadFreeBSD-src-aae6234255311ce64facefa4a4d332c68542d3b3.zip
FreeBSD-src-aae6234255311ce64facefa4a4d332c68542d3b3.tar.gz
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
Diffstat (limited to 'contrib/llvm/lib/IR/AsmWriter.cpp')
-rw-r--r--contrib/llvm/lib/IR/AsmWriter.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}
}
OpenPOWER on IntegriCloud