LLVM 20.0.0git
ELFLinkGraphBuilder.cpp
Go to the documentation of this file.
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.
10//
11//===----------------------------------------------------------------------===//
12
13#include "ELFLinkGraphBuilder.h"
14
15#define DEBUG_TYPE "jitlink"
16
17static 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
22};
23
24namespace llvm {
25namespace jitlink {
26
27StringRef ELFLinkGraphBuilderBase::CommonSectionName(".common");
28ArrayRef<const char *> ELFLinkGraphBuilderBase::DwarfSectionNames = DWSecNames;
29
31
32} // end namespace jitlink
33} // end namespace llvm
static const char * DWSecNames[]
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18