forked from OSchip/llvm-project
parent
8423cae590
commit
794dd1db08
|
@ -351,6 +351,16 @@ namespace llvm {
|
|||
void EmitReference(const MCSymbol *Sym, unsigned Encoding) const;
|
||||
void EmitReference(const GlobalValue *GV, unsigned Encoding) const;
|
||||
|
||||
/// EmitSectionOffset - Emit the 4-byte offset of Label from the start of
|
||||
/// its section. This can be done with a special directive if the target
|
||||
/// supports it (e.g. cygwin) or by emitting it as an offset from a label at
|
||||
/// the start of the section.
|
||||
///
|
||||
/// SectionLabel is a temporary label emitted at the start of the section
|
||||
/// that Label lives in.
|
||||
void EmitSectionOffset(const MCSymbol *Label,
|
||||
const MCSymbol *SectionLabel) const;
|
||||
|
||||
|
||||
//===------------------------------------------------------------------===//
|
||||
// Inline Asm Support
|
||||
|
|
Loading…
Reference in New Issue