Lines Matching refs:ELF
1 //===- lib/MC/MCELF.cpp - MC ELF ------------------------------------------===//
10 // This file implements ELF object file writer information.
18 #include "llvm/Support/ELF.h"
23 assert(Binding == ELF::STB_LOCAL || Binding == ELF::STB_GLOBAL ||
24 Binding == ELF::STB_WEAK);
31 assert(Binding == ELF::STB_LOCAL || Binding == ELF::STB_GLOBAL ||
32 Binding == ELF::STB_WEAK);
37 assert(Type == ELF::STT_NOTYPE || Type == ELF::STT_OBJECT ||
38 Type == ELF::STT_FUNC || Type == ELF::STT_SECTION ||
39 Type == ELF::STT_FILE || Type == ELF::STT_COMMON ||
40 Type == ELF::STT_TLS || Type == ELF::STT_GNU_IFUNC);
48 assert(Type == ELF::STT_NOTYPE || Type == ELF::STT_OBJECT ||
49 Type == ELF::STT_FUNC || Type == ELF::STT_SECTION ||
50 Type == ELF::STT_FILE || Type == ELF::STT_COMMON ||
51 Type == ELF::STT_TLS || Type == ELF::STT_GNU_IFUNC);
56 assert(Visibility == ELF::STV_DEFAULT || Visibility == ELF::STV_INTERNAL ||
57 Visibility == ELF::STV_HIDDEN || Visibility == ELF::STV_PROTECTED);
66 assert(Visibility == ELF::STV_DEFAULT || Visibility == ELF::STV_INTERNAL ||
67 Visibility == ELF::STV_HIDDEN || Visibility == ELF::STV_PROTECTED);