summaryrefslogtreecommitdiff
path: root/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
commitae84d5b9bafd1ba88aa12e8398e5385f229fa306 (patch)
tree046364af7784394e50157cbc056520249476e198 /lib/MC/MCAsmInfoDarwin.cpp
parenta6d050df14e5cbbec612251e86f889b313ec1cdd (diff)
downloadllvm-ae84d5b9bafd1ba88aa12e8398e5385f229fa306.tar.gz
llvm-ae84d5b9bafd1ba88aa12e8398e5385f229fa306.tar.bz2
llvm-ae84d5b9bafd1ba88aa12e8398e5385f229fa306.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--lib/MC/MCAsmInfoDarwin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp
index 0bd3b2d001..4856def260 100644
--- a/lib/MC/MCAsmInfoDarwin.cpp
+++ b/lib/MC/MCAsmInfoDarwin.cpp
@@ -44,5 +44,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
HasDotTypeDotSizeDirective = false;
HasNoDeadStrip = true;
+
+ DwarfUsesAbsoluteLabelForStmtList = false;
}