[llvm-commits] [llvm] r100370 - /llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
Chris Lattner
sabre at nondot.org
Sun Apr 4 16:36:52 PDT 2010
Author: lattner
Date: Sun Apr 4 18:36:52 2010
New Revision: 100370
URL: http://llvm.org/viewvc/llvm-project?rev=100370&view=rev
Log:
missed a header :(
Modified:
llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
Modified: llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/AsmPrinter.h?rev=100370&r1=100369&r2=100370&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/AsmPrinter.h (original)
+++ llvm/trunk/include/llvm/CodeGen/AsmPrinter.h Sun Apr 4 18:36:52 2010
@@ -351,6 +351,16 @@
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
More information about the llvm-commits
mailing list