| 1 | //===-- WebAssemblyTargetObjectFile.cpp - WebAssembly Object Info ---------===// |
| 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-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | /// |
| 9 | /// \file |
| 10 | /// This file defines the functions of the WebAssembly-specific subclass |
| 11 | /// of TargetLoweringObjectFile. |
| 12 | /// |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #include "WebAssemblyTargetObjectFile.h" |
| 16 | |
| 17 | using namespace llvm; |
| 18 | |
| 19 | void WebAssemblyTargetObjectFile::Initialize(MCContext &Ctx, |
| 20 | const TargetMachine &TM) { |
| 21 | TargetLoweringObjectFileWasm::Initialize(ctx&: Ctx, TM); |
| 22 | InitializeWasm(); |
| 23 | } |
| 24 | |