27 lines · plain
1//===-- __cpp_exception.S - Implement __cpp_exception ---------------------===//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 __cpp_exception which LLVM uses to implement exception10// handling 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 __cpp_exception23.tagtype __cpp_exception PTR24__cpp_exception:25 26#endif // !__wasm_exception_handling__27