ARMAsmBackendWinCOFF.h 885 B

12345678910111213141516171819202122232425262728
  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. //===----------------------------------------------------------------------===//
  8. #ifndef LLVM_LIB_TARGET_ARM_ARMASMBACKENDWINCOFF_H
  9. #define LLVM_LIB_TARGET_ARM_ARMASMBACKENDWINCOFF_H
  10. #include "ARMAsmBackend.h"
  11. #include "llvm/MC/MCObjectWriter.h"
  12. using namespace llvm;
  13. namespace {
  14. class ARMAsmBackendWinCOFF : public ARMAsmBackend {
  15. public:
  16. ARMAsmBackendWinCOFF(const Target &T, bool isThumb)
  17. : ARMAsmBackend(T, isThumb, support::little) {}
  18. std::unique_ptr<MCObjectTargetWriter>
  19. createObjectTargetWriter() const override {
  20. return createARMWinCOFFObjectWriter();
  21. }
  22. };
  23. }
  24. #endif