summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCAsmLayout.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-14 00:37:11 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-14 00:37:11 +0000
commitafc6acdab7ba3544d76329ab461f14a93cee67a2 (patch)
tree5b55ab86d883dcb8a74cd490947a5efad0c2edf9 /include/llvm/MC/MCAsmLayout.h
parent7f687195175f01d820eea70e8a647a61d5b99fce (diff)
downloadllvm-afc6acdab7ba3544d76329ab461f14a93cee67a2.tar.gz
llvm-afc6acdab7ba3544d76329ab461f14a93cee67a2.tar.bz2
llvm-afc6acdab7ba3544d76329ab461f14a93cee67a2.tar.xz
MC: Change LayoutSection() to only do the section initializiation.
Also, elimminate MCAsmLayout::set*, which are no longer needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAsmLayout.h')
-rw-r--r--include/llvm/MC/MCAsmLayout.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/include/llvm/MC/MCAsmLayout.h b/include/llvm/MC/MCAsmLayout.h
index 18f720ecc1..526ecad931 100644
--- a/include/llvm/MC/MCAsmLayout.h
+++ b/include/llvm/MC/MCAsmLayout.h
@@ -58,8 +58,9 @@ public:
/// been initialized.
void LayoutFragment(MCFragment *Fragment);
- /// \brief Performs layout for a single section, assuming that the previous
- /// section has already been layed out correctly.
+ /// \brief Performs initial layout for a single section, assuming that the
+ /// previous section (including its fragments) has already been layed out
+ /// correctly.
void LayoutSection(MCSectionData *SD);
/// @name Section Access (in layout order)
@@ -80,15 +81,9 @@ public:
/// current layout.
uint64_t getFragmentEffectiveSize(const MCFragment *F) const;
- /// \brief Set the effective size of the given fragment.
- void setFragmentEffectiveSize(MCFragment *F, uint64_t Value);
-
/// \brief Get the offset of the given fragment inside its containing section.
uint64_t getFragmentOffset(const MCFragment *F) const;
- /// \brief Set the offset of the given fragment inside its containing section.
- void setFragmentOffset(MCFragment *F, uint64_t Value);
-
/// @}
/// @name Section Layout Data
/// @{
@@ -96,9 +91,6 @@ public:
/// \brief Get the computed address of the given section.
uint64_t getSectionAddress(const MCSectionData *SD) const;
- /// \brief Set the computed address of the given section.
- void setSectionAddress(MCSectionData *SD, uint64_t Value);
-
/// @}
/// @name Utility Functions
/// @{