[ASan/Win tests] Bring back -GS- as SEH tests fail otherwise
[blocksruntime.git] / lib / builtins / udivdi3.c
blobdc68e154b109b85bb3559b96c9fa2cd02f7e90f7
1 /* ===-- udivdi3.c - Implement __udivdi3 -----------------------------------===
3 * The LLVM Compiler Infrastructure
5 * This file is dual licensed under the MIT and the University of Illinois Open
6 * Source Licenses. See LICENSE.TXT for details.
8 * ===----------------------------------------------------------------------===
10 * This file implements __udivdi3 for the compiler_rt library.
12 * ===----------------------------------------------------------------------===
15 #include "int_lib.h"
17 /* Returns: a / b */
19 COMPILER_RT_ABI du_int
20 __udivdi3(du_int a, du_int b)
22 return __udivmoddi4(a, b, 0);