brintos

brintos / llvm-project-archived public Read only

0
0
Text · 762 B · d130862 Raw
27 lines · plain
1//===-- __c_longjmp.S - Implement __c_longjmp -----------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// This file implements __c_longjmp which LLVM uses to implenmet setjmp/longjmp10// when Wasm EH is enabled.11//12//===----------------------------------------------------------------------===//13 14#ifdef __wasm_exception_handling__15 16#ifdef __wasm64__17#define PTR i6418#else19#define PTR i3220#endif21 22.globl __c_longjmp23.tagtype __c_longjmp PTR24__c_longjmp:25 26#endif // !__wasm_exception_handling__27