diff options
author | dim <dim@FreeBSD.org> | 2013-10-03 20:38:57 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-10-03 20:38:57 +0000 |
commit | aae6234255311ce64facefa4a4d332c68542d3b3 (patch) | |
tree | 2d1dccc02cf12c36278f038437b6db16675cd56e /contrib/llvm/lib/IR | |
parent | 5dc4bb5bd3d0e995e13054a94b6d63490561ed9c (diff) | |
download | FreeBSD-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')
-rw-r--r-- | contrib/llvm/lib/IR/AsmWriter.cpp | 2 |
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; } } |