summaryrefslogtreecommitdiff
path: root/test/DebugInfo
diff options
context:
space:
mode:
authorJyotsna Verma <jverma@codeaurora.org>2013-04-10 19:53:26 +0000
committerJyotsna Verma <jverma@codeaurora.org>2013-04-10 19:53:26 +0000
commitf0ca9a8c94dafe795d5141e862ded156d6c6cd66 (patch)
tree6e3a0f4fa88cfaa779fd166714183c24f40dd8b8 /test/DebugInfo
parent4b924d3a61442fb70773057d40789ed1e3187a77 (diff)
downloadllvm-f0ca9a8c94dafe795d5141e862ded156d6c6cd66.tar.gz
llvm-f0ca9a8c94dafe795d5141e862ded156d6c6cd66.tar.bz2
llvm-f0ca9a8c94dafe795d5141e862ded156d6c6cd66.tar.xz
Add object-emission flag for lit tests. This flag is used
to disable following tests for Hexagon that require direct object generation support. DebugInfo/dwarf-public-names.ll DebugInfo/dwarf-version.ll DebugInfo/member-pointers.ll DebugInfo/namespace.ll DebugInfo/two-cus-from-same-file.ll Fixes bug 15616 - http://llvm.org/bugs/show_bug.cgi?id=15616 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179209 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r--test/DebugInfo/dwarf-public-names.ll3
-rw-r--r--test/DebugInfo/dwarf-version.ll2
-rw-r--r--test/DebugInfo/member-pointers.ll2
-rw-r--r--test/DebugInfo/namespace.ll2
-rw-r--r--test/DebugInfo/two-cus-from-same-file.ll3
5 files changed, 10 insertions, 2 deletions
diff --git a/test/DebugInfo/dwarf-public-names.ll b/test/DebugInfo/dwarf-public-names.ll
index 52b2397714..ec07c232fa 100644
--- a/test/DebugInfo/dwarf-public-names.ll
+++ b/test/DebugInfo/dwarf-public-names.ll
@@ -1,6 +1,7 @@
+; REQUIRES: object-emission
+
; RUN: llc -generate-dwarf-pubnames -filetype=obj -o %t.o < %s
; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck %s
-; XFAIL: hexagon
; ModuleID = 'dwarf-public-names.cpp'
;
; Generated from:
diff --git a/test/DebugInfo/dwarf-version.ll b/test/DebugInfo/dwarf-version.ll
index 4e00dee001..327a306e3d 100644
--- a/test/DebugInfo/dwarf-version.ll
+++ b/test/DebugInfo/dwarf-version.ll
@@ -1,3 +1,5 @@
+; REQUIRES: object-emission
+
; RUN: llc -filetype=obj -O0 < %s > %t
; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
diff --git a/test/DebugInfo/member-pointers.ll b/test/DebugInfo/member-pointers.ll
index 4b77189563..4289865904 100644
--- a/test/DebugInfo/member-pointers.ll
+++ b/test/DebugInfo/member-pointers.ll
@@ -1,3 +1,5 @@
+; REQUIRES: object-emission
+
; RUN: llc -filetype=obj -O0 < %s > %t
; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
; CHECK: DW_TAG_ptr_to_member_type
diff --git a/test/DebugInfo/namespace.ll b/test/DebugInfo/namespace.ll
index 8d59b52302..4ca777c3e5 100644
--- a/test/DebugInfo/namespace.ll
+++ b/test/DebugInfo/namespace.ll
@@ -1,3 +1,5 @@
+; REQUIRES: object-emission
+
; RUN: llc -O0 -filetype=obj < %s > %t
; RUN: llvm-dwarfdump %t | FileCheck %s
; CHECK: debug_info contents
diff --git a/test/DebugInfo/two-cus-from-same-file.ll b/test/DebugInfo/two-cus-from-same-file.ll
index 58671d59f7..784df8d25b 100644
--- a/test/DebugInfo/two-cus-from-same-file.ll
+++ b/test/DebugInfo/two-cus-from-same-file.ll
@@ -3,10 +3,11 @@
; blow llc up and produces something reasonable.
;
+; REQUIRES: object-emission
+
; RUN: llc %s -o %t -filetype=obj -O0
; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
-; XFAIL: hexagon
; ModuleID = 'test.bc'
@str = private unnamed_addr constant [4 x i8] c"FOO\00"