llvm-project/llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
1.0 KiB
C++
Raw Normal View History

//=----------- ELFLinkGraphBuilder.cpp - ELF LinkGraph builder ------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// Generic ELF LinkGraph buliding code.
//
//===----------------------------------------------------------------------===//
#include "ELFLinkGraphBuilder.h"
#define DEBUG_TYPE "jitlink"
static const char *DWSecNames[] = {
#define HANDLE_DWARF_SECTION(ENUM_NAME, ELF_NAME, CMDLINE_NAME, OPTION) \
ELF_NAME,
#include "llvm/BinaryFormat/Dwarf.def"
#undef HANDLE_DWARF_SECTION
};
namespace llvm {
namespace jitlink {
StringRef ELFLinkGraphBuilderBase::CommonSectionName(".common");
ArrayRef<const char *> ELFLinkGraphBuilderBase::DwarfSectionNames = DWSecNames;
2022-02-07 14:18:35 +08:00
ELFLinkGraphBuilderBase::~ELFLinkGraphBuilderBase() = default;
} // end namespace jitlink
} // end namespace llvm