diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-04-04 23:36:52 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 23:36:52 +0000 |
| commit | 794dd1db08df5d8d7cf0b18c25cbeb9e7bcb7de9 (patch) | |
| tree | 4d21864ba90e1d963782ddc1834cd83dcf9b8ab3 /llvm | |
| parent | 8423cae59017d9b590e5f162eb7a3965ebc9f4be (diff) | |
| download | bcm5719-llvm-794dd1db08df5d8d7cf0b18c25cbeb9e7bcb7de9.tar.gz bcm5719-llvm-794dd1db08df5d8d7cf0b18c25cbeb9e7bcb7de9.zip | |
missed a header :(
llvm-svn: 100370
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/AsmPrinter.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index 2ad1e1833a0..06c2f7546a8 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/include/llvm/CodeGen/AsmPrinter.h @@ -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 |

