summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCAsmInfo.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-10-27 06:44:11 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-10-27 06:44:11 +0000
commit390c40d96adb2eb4a778a0890c6c8743057e289e (patch)
tree52c7f67719a8fa5a8d51f6217c87bf2659a468e0 /include/llvm/MC/MCAsmInfo.h
parentfd58cd75630b1a2ace727d6caaee8c9308ba0240 (diff)
downloadllvm-390c40d96adb2eb4a778a0890c6c8743057e289e.tar.gz
llvm-390c40d96adb2eb4a778a0890c6c8743057e289e.tar.bz2
llvm-390c40d96adb2eb4a778a0890c6c8743057e289e.tar.xz
Teach our Dwarf emission to use the string pool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAsmInfo.h')
-rw-r--r--include/llvm/MC/MCAsmInfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h
index 56ef4d229a..d7402b3397 100644
--- a/include/llvm/MC/MCAsmInfo.h
+++ b/include/llvm/MC/MCAsmInfo.h
@@ -330,6 +330,10 @@ namespace llvm {
/// use EmitLabelOffsetDifference.
bool DwarfUsesLabelOffsetForRanges;
+ /// DwarfUsesRelocationsForStringPool - True if this Dwarf output must use
+ /// relocations to refer to entries in the string pool.
+ bool DwarfUsesRelocationsForStringPool;
+
/// DwarfRegNumForCFI - True if dwarf register numbers are printed
/// instead of symbolic register names in .cfi_* directives.
bool DwarfRegNumForCFI; // Defaults to false;
@@ -566,6 +570,9 @@ namespace llvm {
bool doesDwarfUsesLabelOffsetForRanges() const {
return DwarfUsesLabelOffsetForRanges;
}
+ bool doesDwarfUseRelocationsForStringPool() const {
+ return DwarfUsesRelocationsForStringPool;
+ }
bool useDwarfRegNumForCFI() const {
return DwarfRegNumForCFI;
}