Lines Matching refs:ELF
1 //===-- ELFDump.cpp - ELF-specific dumper -----------------------*- C++ -*-===//
11 /// \brief This file implements the ELF-specific dumper for llvm-objdump.
16 #include "llvm/Object/ELF.h"
33 case ELF::PT_LOAD:
36 case ELF::PT_GNU_STACK:
39 case ELF::PT_GNU_EH_FRAME:
42 case ELF::PT_INTERP:
45 case ELF::PT_DYNAMIC:
48 case ELF::PT_PHDR:
51 case ELF::PT_TLS:
72 << ((pi->p_flags & ELF::PF_R) ? "r" : "-")
73 << ((pi->p_flags & ELF::PF_W) ? "w" : "-")
74 << ((pi->p_flags & ELF::PF_X) ? "x" : "-")