diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-02-09 23:00:14 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-09 23:00:14 +0000 |
| commit | 9a0a46163d70143fd55216a9a51f8d2af7e79827 (patch) | |
| tree | f55b8ce609dab6bb9c99cd1bddcd492f4275569a /llvm/lib/MC/MCAssembler.cpp | |
| parent | 0e42dc0dacbbc2f59d40ec8d06b8c5630075f3d8 (diff) | |
| download | bcm5719-llvm-9a0a46163d70143fd55216a9a51f8d2af7e79827.tar.gz bcm5719-llvm-9a0a46163d70143fd55216a9a51f8d2af7e79827.zip | |
llvm-mc: Add --show-fixups option, for displaying the instruction fixup information in the asm comments.
llvm-svn: 95710
Diffstat (limited to 'llvm/lib/MC/MCAssembler.cpp')
| -rw-r--r-- | llvm/lib/MC/MCAssembler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/MC/MCAssembler.cpp b/llvm/lib/MC/MCAssembler.cpp index c471a02eb78..bdc886bc67a 100644 --- a/llvm/lib/MC/MCAssembler.cpp +++ b/llvm/lib/MC/MCAssembler.cpp @@ -746,7 +746,7 @@ public: SD.getAddress() + SD.getFileSize()); } - // The section data is passed to 4 bytes. + // The section data is padded to 4 bytes. // // FIXME: Is this machine dependent? unsigned SectionDataPadding = OffsetToAlignment(SectionDataFileSize, 4); @@ -761,9 +761,9 @@ public: // ... and then the section headers. // // We also compute the section relocations while we do this. Note that - // compute relocation info will also update the fixup to have the correct - // value; this will be overwrite the appropriate data in the fragment when - // it is written. + // computing relocation info will also update the fixup to have the correct + // value; this will overwrite the appropriate data in the fragment when it + // is written. std::vector<MachRelocationEntry> RelocInfos; uint64_t RelocTableEnd = SectionDataStart + SectionDataFileSize; for (MCAssembler::iterator it = Asm.begin(), ie = Asm.end(); it != ie; |

