summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-22 08:28:27 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-22 08:28:27 +0000
commit2ae58f2851188c21517d2d0409db1c37dca84b24 (patch)
tree815b09c32b58fe3f55ad7601aa49ba2581c2ee90 /include
parenta5441fea1f5d4f86d6211af16dbf7d190f2a3c83 (diff)
downloadllvm-2ae58f2851188c21517d2d0409db1c37dca84b24.tar.gz
llvm-2ae58f2851188c21517d2d0409db1c37dca84b24.tar.bz2
llvm-2ae58f2851188c21517d2d0409db1c37dca84b24.tar.xz
llvm-mc/Mach-O: Move more logic for writing the Mach-O file into the writer
class, and kill off MCSectionData::FileOffset. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCAssembler.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h
index bb2cda9094..86ad502c7e 100644
--- a/include/llvm/MC/MCAssembler.h
+++ b/include/llvm/MC/MCAssembler.h
@@ -254,10 +254,6 @@ private:
//
// FIXME: This could all be kept private to the assembler implementation.
- /// FileOffset - The offset of this section in the object file. This is ~0
- /// until initialized.
- uint64_t FileOffset;
-
/// FileSize - The size of this section in the object file. This is ~0 until
/// initialized.
uint64_t FileSize;
@@ -301,12 +297,6 @@ public:
}
void setFileSize(uint64_t Value) { FileSize = Value; }
- uint64_t getFileOffset() const {
- assert(FileOffset != ~UINT64_C(0) && "File offset not set!");
- return FileOffset;
- }
- void setFileOffset(uint64_t Value) { FileOffset = Value; }
-
/// @}
};