1 //===- lib/MC/MCELF.h - ELF MC --------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains some support functions used by the ELF Streamer and
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_MC_MCELF_H
16 #define LLVM_MC_MCELF_H
23 static void SetBinding(MCSymbolData &SD, unsigned Binding);
24 static unsigned GetBinding(const MCSymbolData &SD);
25 static void SetType(MCSymbolData &SD, unsigned Type);
26 static unsigned GetType(const MCSymbolData &SD);
27 static void SetVisibility(MCSymbolData &SD, unsigned Visibility);
28 static unsigned GetVisibility(const MCSymbolData &SD);
29 static void setOther(MCSymbolData &SD, unsigned Other);
30 static unsigned getOther(const MCSymbolData &SD);