1//===-- LoongArchTargetStreamer.cpp - LoongArch Target Streamer Methods ---===//
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// This file provides LoongArch specific target streamer methods.
10//
11//===----------------------------------------------------------------------===//
12
13#include "LoongArchTargetStreamer.h"
14
15using namespace llvm;
16
17LoongArchTargetStreamer::LoongArchTargetStreamer(MCStreamer &S)
18 : MCTargetStreamer(S) {}
19
20void LoongArchTargetStreamer::setTargetABI(LoongArchABI::ABI ABI) {
21 assert(ABI != LoongArchABI::ABI_Unknown &&
22 "Improperly initialized target ABI");
23 TargetABI = ABI;
24}
25