aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCAssembler.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-13 01:10:22 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-13 01:10:22 +0000
commitb5844ff1c44f0427bcf132eaece945da411e650f (patch)
tree267530b41e4a8e3379701a1c408912595c3faa12 /include/llvm/MC/MCAssembler.h
parent4bf4bafcced902ee6d58a90486768f08a3795d02 (diff)
MC: Add MCSectionData::AddressSize, which is the size of the address space consumed by the section. This can differ from both the section logical size, and the section size on disk (although the current code handles this without making an explicit distinction).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAssembler.h')
-rw-r--r--include/llvm/MC/MCAssembler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h
index e0e009526d..b641b0241d 100644
--- a/include/llvm/MC/MCAssembler.h
+++ b/include/llvm/MC/MCAssembler.h
@@ -394,9 +394,13 @@ private:
/// initialized.
uint64_t Address;
- /// Size - The content size of this section. This is ~0 until initialized.
+ /// Size - The logical size of this section. This is ~0 until initialized.
uint64_t Size;
+ /// AddressSize - The address space size used by this section. This is ~0
+ /// until initialized.
+ uint64_t AddressSize;
+
/// FileSize - The size of this section in the object file. This is ~0 until
/// initialized.
uint64_t FileSize;