aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCAsmInfoCOFF.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-02-24 21:04:00 +0000
committerDevang Patel <dpatel@apple.com>2011-02-24 21:04:00 +0000
commitf410608271b6318bfc9e26c0d199f185d5a89ccb (patch)
tree657e0f50bc3d75837e1154ebdd71aa190d7acc2b /lib/MC/MCAsmInfoCOFF.cpp
parent8c20ec54d98176d31f310e4684d1d7f2ea0639bc (diff)
downloadexternal_llvm-f410608271b6318bfc9e26c0d199f185d5a89ccb.zip
external_llvm-f410608271b6318bfc9e26c0d199f185d5a89ccb.tar.gz
external_llvm-f410608271b6318bfc9e26c0d199f185d5a89ccb.tar.bz2
Enable DebugInfo support for COFF object files.
Patch by Nathan Jeffords! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfoCOFF.cpp')
-rw-r--r--lib/MC/MCAsmInfoCOFF.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfoCOFF.cpp b/lib/MC/MCAsmInfoCOFF.cpp
index 7fc7d7a..f6e2405 100644
--- a/lib/MC/MCAsmInfoCOFF.cpp
+++ b/lib/MC/MCAsmInfoCOFF.cpp
@@ -33,5 +33,6 @@ MCAsmInfoCOFF::MCAsmInfoCOFF() {
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
SupportsDebugInformation = true;
DwarfSectionOffsetDirective = "\t.secrel32\t";
+ DwarfUsesAbsoluteLabelForStmtList = false;
HasMicrosoftFastStdCallMangling = true;
}