|
LLVM
5.0.0
|
#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/ADT/Twine.h"#include "llvm/BinaryFormat/ELF.h"#include "llvm/MC/MCAsmBackend.h"#include "llvm/MC/MCAsmInfo.h"#include "llvm/MC/MCAsmLayout.h"#include "llvm/MC/MCAssembler.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/MCELFObjectWriter.h"#include "llvm/MC/MCExpr.h"#include "llvm/MC/MCFixup.h"#include "llvm/MC/MCFixupKindInfo.h"#include "llvm/MC/MCFragment.h"#include "llvm/MC/MCObjectWriter.h"#include "llvm/MC/MCSection.h"#include "llvm/MC/MCSectionELF.h"#include "llvm/MC/MCSymbol.h"#include "llvm/MC/MCSymbolELF.h"#include "llvm/MC/MCValue.h"#include "llvm/MC/StringTableBuilder.h"#include "llvm/Support/Allocator.h"#include "llvm/Support/Casting.h"#include "llvm/Support/Compression.h"#include "llvm/Support/Endian.h"#include "llvm/Support/Error.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/Host.h"#include "llvm/Support/MathExtras.h"#include "llvm/Support/SMLoc.h"#include "llvm/Support/StringSaver.h"#include "llvm/Support/SwapByteOrder.h"#include "llvm/Support/raw_ostream.h"#include <algorithm>#include <cassert>#include <cstddef>#include <cstdint>#include <map>#include <memory>#include <string>#include <utility>#include <vector>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "reloc-info" |
Functions | |
| static uint8_t | mergeTypeForSet (uint8_t origType, uint8_t newType) |
| static bool | isWeak (const MCSymbolELF &Sym) |
| #define DEBUG_TYPE "reloc-info" |
Definition at line 64 of file ELFObjectWriter.cpp.
|
static |
Definition at line 609 of file ELFObjectWriter.cpp.
References llvm::MCSymbolELF::getBinding(), llvm::MCSymbolELF::getType(), llvm_unreachable(), llvm::ELF::STB_GLOBAL, llvm::ELF::STB_GNU_UNIQUE, llvm::ELF::STB_LOCAL, llvm::ELF::STB_WEAK, and llvm::ELF::STT_GNU_IFUNC.
Referenced by llvm::FunctionComparator::cmpOperations(), llvm::irsymtab::Symbol::getCOFFWeakExternalFallback(), and haveSameSpecialState().
|
static |
Definition at line 426 of file ELFObjectWriter.cpp.
References llvm::ELF::STT_FUNC, llvm::ELF::STT_GNU_IFUNC, llvm::ELF::STT_NOTYPE, llvm::ELF::STT_OBJECT, and llvm::ELF::STT_TLS.
1.8.6