aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCAsmInfo.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-06-22 13:24:07 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-06-22 13:24:07 +0000
commit2241e51406f7bae369d6103cf3464e70f74c4af9 (patch)
tree46faa6f94e9b5c81d511462ec375dbbf5a6771ba /include/llvm/MC/MCAsmInfo.h
parent37eeb058a30200101836d82098542d3d2fc4f3d5 (diff)
downloadexternal_llvm-2241e51406f7bae369d6103cf3464e70f74c4af9.tar.gz
external_llvm-2241e51406f7bae369d6103cf3464e70f74c4af9.tar.bz2
external_llvm-2241e51406f7bae369d6103cf3464e70f74c4af9.zip
Fix a FIXME: DwarfRequiresRelocationForSectionOffset is the same as
DwarfUsesRelocationsAcrossSections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAsmInfo.h')
-rw-r--r--include/llvm/MC/MCAsmInfo.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h
index 21b484c1c0..a353565d5d 100644
--- a/include/llvm/MC/MCAsmInfo.h
+++ b/include/llvm/MC/MCAsmInfo.h
@@ -315,14 +315,8 @@ namespace llvm {
/// DwarfSectionOffsetDirective - Special section offset directive.
const char* DwarfSectionOffsetDirective; // Defaults to NULL
- /// DwarfRequiresRelocationForSectionOffset - True if we need to produce a
- /// relocation when we want a section offset in dwarf.
- bool DwarfRequiresRelocationForSectionOffset; // Defaults to true;
-
/// DwarfUsesRelocationsAcrossSections - True if Dwarf2 output generally
/// uses relocations for references to other .debug_* sections.
- // FIXME: Can we replace DwarfRequiresRelocationForSectionOffset
- // with this?
bool DwarfUsesRelocationsAcrossSections;
/// DwarfUsesRelocationsForStringPool - True if this Dwarf output must use
@@ -551,9 +545,6 @@ namespace llvm {
const char *getDwarfSectionOffsetDirective() const {
return DwarfSectionOffsetDirective;
}
- bool doesDwarfRequireRelocationForSectionOffset() const {
- return DwarfRequiresRelocationForSectionOffset;
- }
bool doesDwarfUseRelocationsAcrossSections() const {
return DwarfUsesRelocationsAcrossSections;
}