diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-06-22 01:25:12 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-06-22 01:25:12 +0000 |
commit | ffccd923101ae177c1a2c407618d8f03a312d69b (patch) | |
tree | b5d081f57a101bb12b897e4d91e79cb1c0db698d /lib/MC | |
parent | e0231413225cf47aaf3238bf21afd0d59025028d (diff) | |
download | external_llvm-ffccd923101ae177c1a2c407618d8f03a312d69b.zip external_llvm-ffccd923101ae177c1a2c407618d8f03a312d69b.tar.gz external_llvm-ffccd923101ae177c1a2c407618d8f03a312d69b.tar.bz2 |
Emit relocations for DW_AT_location entries on systems which need it. This is
a recommit of r127757. Fixes PR9493. Patch by Paul Robinson!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCAsmInfo.cpp | 2 | ||||
-rw-r--r-- | lib/MC/MCAsmInfoDarwin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/MCAsmInfo.cpp b/lib/MC/MCAsmInfo.cpp index d9c1d51..beb20e8 100644 --- a/lib/MC/MCAsmInfo.cpp +++ b/lib/MC/MCAsmInfo.cpp @@ -86,7 +86,7 @@ MCAsmInfo::MCAsmInfo() { DwarfUsesInlineInfoSection = false; DwarfRequiresRelocationForSectionOffset = true; DwarfSectionOffsetDirective = 0; - DwarfUsesLabelOffsetForRanges = true; + DwarfUsesRelocationsAcrossSections = true; DwarfUsesRelocationsForStringPool = true; DwarfRegNumForCFI = false; HasMicrosoftFastStdCallMangling = false; diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp index 73ef7ba..7c271a9 100644 --- a/lib/MC/MCAsmInfoDarwin.cpp +++ b/lib/MC/MCAsmInfoDarwin.cpp @@ -60,6 +60,6 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() { HasSymbolResolver = true; DwarfRequiresRelocationForSectionOffset = false; - DwarfUsesLabelOffsetForRanges = false; + DwarfUsesRelocationsAcrossSections = false; DwarfUsesRelocationsForStringPool = false; } |