summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfoDarwin.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-31 23:50:19 +0000
committerDevang Patel <dpatel@apple.com>2010-08-31 23:50:19 +0000
commitea63639da509e808968839067b28ac159f979c1c (patch)
treeb822f74b419b9220c1b8cfb018ec987e0d167633 /llvm/lib/MC/MCAsmInfoDarwin.cpp
parenteb5a307259db831cde1786fd2d3fb6613fc571eb (diff)
downloadbcm5719-llvm-ea63639da509e808968839067b28ac159f979c1c.tar.gz
bcm5719-llvm-ea63639da509e808968839067b28ac159f979c1c.zip
Use absolute label for DW_AT_stmt_list if a target does not prefer offset here.
This patch was developed on top of original patch by Artur Pietrek. llvm-svn: 112678
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfoDarwin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp
index 0bd3b2d001e..4856def2605 100644
--- a/llvm/lib/MC/MCAsmInfoDarwin.cpp
+++ b/llvm/lib/MC/MCAsmInfoDarwin.cpp
@@ -44,5 +44,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
HasDotTypeDotSizeDirective = false;
HasNoDeadStrip = true;
+
+ DwarfUsesAbsoluteLabelForStmtList = false;
}
OpenPOWER on IntegriCloud