[test] Pre-commit llvm.experimental.memset.pattern tests prior to MemoryLocation...
[llvm-project.git] / llvm / lib / Target / ARM / MCTargetDesc / ARMAsmBackendWinCOFF.h
blob9b50fb7f075821991c3840a83438bd5cd4a53090
1 //===-- ARMAsmBackendWinCOFF.h - ARM Asm Backend WinCOFF --------*- C++ -*-===//
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_ARM_MCTARGETDESC_ARMASMBACKENDWINCOFF_H
10 #define LLVM_LIB_TARGET_ARM_MCTARGETDESC_ARMASMBACKENDWINCOFF_H
12 #include "ARMAsmBackend.h"
13 #include "llvm/MC/MCObjectWriter.h"
15 namespace llvm {
16 class ARMAsmBackendWinCOFF : public ARMAsmBackend {
17 public:
18 ARMAsmBackendWinCOFF(const Target &T, bool isThumb)
19 : ARMAsmBackend(T, isThumb, llvm::endianness::little) {}
20 std::unique_ptr<MCObjectTargetWriter>
21 createObjectTargetWriter() const override {
22 return createARMWinCOFFObjectWriter();
25 } // namespace llvm
27 #endif // LLVM_LIB_TARGET_ARM_MCTARGETDESC_ARMASMBACKENDWINCOFF_H