diff options
author | Jim Laskey <jlaskey@mac.com> | 2007-01-24 13:12:32 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2007-01-24 13:12:32 +0000 |
commit | f9e56198a39a08272c072211722b3c97ef88853c (patch) | |
tree | c8c0df7a3936cf8d72bcefc6a51fa652753bf9d0 /include/llvm/CodeGen/AsmPrinter.h | |
parent | 012f2d97b78e4eb9128f1d491f2c177768dbe527 (diff) | |
download | external_llvm-f9e56198a39a08272c072211722b3c97ef88853c.zip external_llvm-f9e56198a39a08272c072211722b3c97ef88853c.tar.gz external_llvm-f9e56198a39a08272c072211722b3c97ef88853c.tar.bz2 |
Use asm printer to emit alignment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 2f54d6d..1c660d6 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -174,12 +174,14 @@ namespace llvm { /// do nothing and return false. bool EmitSpecialLLVMGlobal(const GlobalVariable *GV); + public: /// EmitAlignment - Emit an alignment directive to the specified power of /// two boundary. For example, if you pass in 3 here, you will get an 8 /// byte alignment. If a global value is specified, and if that global has /// an explicit alignment requested, it will override the alignment request. void EmitAlignment(unsigned NumBits, const GlobalValue *GV = 0) const; + protected: /// EmitZeros - Emit a block of zeros. /// void EmitZeros(uint64_t NumZeros) const; |