1 //=----------- ELFLinkGraphBuilder.cpp - ELF LinkGraph builder ------------===//
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 // 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) \
20 #include "llvm/BinaryFormat/Dwarf.def"
21 #undef HANDLE_DWARF_SECTION
27 StringRef
ELFLinkGraphBuilderBase::CommonSectionName(".common");
28 ArrayRef
<const char *> ELFLinkGraphBuilderBase::DwarfSectionNames
= DWSecNames
;
30 ELFLinkGraphBuilderBase::~ELFLinkGraphBuilderBase() = default;
32 } // end namespace jitlink
33 } // end namespace llvm