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
18 #include "llvm/MC/MCExpr.h"
25 static void SetBinding(MCSymbolData &SD, unsigned Binding);
26 static unsigned GetBinding(const MCSymbolData &SD);
27 static void SetType(MCSymbolData &SD, unsigned Type);
28 static unsigned GetType(const MCSymbolData &SD);
29 static void SetVisibility(MCSymbolData &SD, unsigned Visibility);
30 static unsigned GetVisibility(MCSymbolData &SD);
31 static void setOther(MCSymbolData &SD, unsigned Other);
32 static unsigned getOther(MCSymbolData &SD);