summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJyotsna Verma <jverma@codeaurora.org>2013-03-28 19:34:49 +0000
committerJyotsna Verma <jverma@codeaurora.org>2013-03-28 19:34:49 +0000
commit27c06f33224ec6d6c3797b16d50312796bffc025 (patch)
treeb7ef2657d255f3fd7715e7489a61c86008f33ab5 /llvm
parent19468cafad37fd30476fcbaffeee537ec7ea8512 (diff)
downloadbcm5719-llvm-27c06f33224ec6d6c3797b16d50312796bffc025.tar.gz
bcm5719-llvm-27c06f33224ec6d6c3797b16d50312796bffc025.zip
Hexagon: Enable SupportDebugInfomation and DwarfInSection flags.
llvm-svn: 178279
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp2
-rw-r--r--llvm/test/CodeGen/Hexagon/hwloop-dbg.ll1
2 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
index 86f75d1c2d7..f0a9c7cd7b6 100644
--- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
+++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
@@ -31,6 +31,8 @@ HexagonMCAsmInfo::HexagonMCAsmInfo(const Target &T, StringRef TT) {
AscizDirective = "\t.string\t";
WeakRefDirective = "\t.weak\t";
+ SupportsDebugInformation = true;
+ DwarfUsesInlineInfoSection = true;
UsesELFSectionDirectiveForBSS = true;
ExceptionsType = ExceptionHandling::DwarfCFI;
}
diff --git a/llvm/test/CodeGen/Hexagon/hwloop-dbg.ll b/llvm/test/CodeGen/Hexagon/hwloop-dbg.ll
index eaffa0797a6..c2e8153b7df 100644
--- a/llvm/test/CodeGen/Hexagon/hwloop-dbg.ll
+++ b/llvm/test/CodeGen/Hexagon/hwloop-dbg.ll
@@ -33,7 +33,6 @@ for.end: ; preds = %for.body
declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
-!llvm.dbg.cu = !{!0}
!0 = metadata !{i32 786449, i32 0, i32 12, metadata !"hwloop-dbg.c", metadata !"/usr2/kparzysz/s.hex/t", metadata !"QuIC LLVM Hexagon Clang version 6.1-pre-unknown, (git://git-hexagon-aus.quicinc.com/llvm/clang-mainline.git e9382867661454cdf44addb39430741578e9765c) (llvm/llvm-mainline.git 36412bb1fcf03ed426d4437b41198bae066675ac)", i1 true, i1 true, metadata !"", i32 0, metadata !1, metadata !1, metadata !3, metadata !1} ; [ DW_TAG_compile_unit ] [/usr2/kparzysz/s.hex/t/hwloop-dbg.c] [DW_LANG_C99]
!1 = metadata !{metadata !2}
OpenPOWER on IntegriCloud