diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-22 08:28:27 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-22 08:28:27 +0000 |
commit | 2ae58f2851188c21517d2d0409db1c37dca84b24 (patch) | |
tree | 815b09c32b58fe3f55ad7601aa49ba2581c2ee90 /include | |
parent | a5441fea1f5d4f86d6211af16dbf7d190f2a3c83 (diff) | |
download | external_llvm-2ae58f2851188c21517d2d0409db1c37dca84b24.zip external_llvm-2ae58f2851188c21517d2d0409db1c37dca84b24.tar.gz external_llvm-2ae58f2851188c21517d2d0409db1c37dca84b24.tar.bz2 |
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.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h index bb2cda9..86ad502 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; } - /// @} }; |