summaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmInfo.cpp
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 /lib/MC/MCAsmInfo.cpp
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 'lib/MC/MCAsmInfo.cpp')
-rw-r--r--lib/MC/MCAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfo.cpp b/lib/MC/MCAsmInfo.cpp
index 95861bc61c..c330e740c2 100644
--- a/lib/MC/MCAsmInfo.cpp
+++ b/lib/MC/MCAsmInfo.cpp
@@ -91,6 +91,7 @@ MCAsmInfo::MCAsmInfo() {
DwarfRequiresRelocationForSectionOffset = true;
DwarfSectionOffsetDirective = 0;
DwarfUsesLabelOffsetForRanges = true;
+ DwarfUsesRelocationsForStringPool = true;
DwarfRegNumForCFI = false;
HasMicrosoftFastStdCallMangling = false;