1 //===-- llvm/BinaryFormat/XCOFF.cpp - The XCOFF file format -----*- C++/-*-===//
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
7 //===----------------------------------------------------------------------===//
9 #include "llvm/BinaryFormat/XCOFF.h"
10 #include "llvm/ADT/StringRef.h"
15 case XCOFF::XMC_##A: \
17 StringRef XCOFF::getMappingClassString(XCOFF::StorageMappingClass SMC) {
43 // TODO: need to add a test case for "Unknown" and other SMC.
47 #define RELOC_CASE(A) \
50 StringRef XCOFF::getRelocationTypeString(XCOFF::RelocationType Type) {