1 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2 // See https://llvm.org/LICENSE.txt for license information.
3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 #include "../assembly.h"
8 // This routine is windows specific
9 // http://msdn.microsoft.com/en-us/library/ms648426.aspx
12 // MSVC x64s __chkstk and cygmings ___chkstk_ms do not adjust %rsp
13 // themselves. It also does not clobber %rax so we can reuse it when
20 DEFINE_COMPILERRT_FUNCTION(___chkstk_ms)
38 END_COMPILERRT_FUNCTION(___chkstk_ms)