[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / llvm / lib / ExecutionEngine / JITLink / ELFLinkGraphBuilder.cpp
blobe081f47ca42fd7f5591f2b31c12b905739398330
1 //=----------- ELFLinkGraphBuilder.cpp - ELF LinkGraph builder ------------===//
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 // Generic ELF LinkGraph building code.
11 //===----------------------------------------------------------------------===//
13 #include "ELFLinkGraphBuilder.h"
15 #define DEBUG_TYPE "jitlink"
17 static const char *DWSecNames[] = {
18 #define HANDLE_DWARF_SECTION(ENUM_NAME, ELF_NAME, CMDLINE_NAME, OPTION) \
19 ELF_NAME,
20 #include "llvm/BinaryFormat/Dwarf.def"
21 #undef HANDLE_DWARF_SECTION
24 namespace llvm {
25 namespace jitlink {
27 StringRef ELFLinkGraphBuilderBase::CommonSectionName(".common");
28 ArrayRef<const char *> ELFLinkGraphBuilderBase::DwarfSectionNames = DWSecNames;
30 ELFLinkGraphBuilderBase::~ELFLinkGraphBuilderBase() = default;
32 } // end namespace jitlink
33 } // end namespace llvm