aboutsummaryrefslogtreecommitdiff
path: root/debuginfo-tests/nrvo-string.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-12-05 16:58:09 +0000
committerAdrian Prantl <aprantl@apple.com>2017-12-05 16:58:09 +0000
commit6e9ea3f55ab320f97cefcc65e99fed8231d83a1e (patch)
tree9beac4a719fa8ae15e08e1f3b4b87619904b73ee /debuginfo-tests/nrvo-string.cpp
parent22cfe52398c78b4027e527f89f8251b6eac97aef (diff)
downloadllvm-6e9ea3f55ab320f97cefcc65e99fed8231d83a1e.zip
llvm-6e9ea3f55ab320f97cefcc65e99fed8231d83a1e.tar.gz
llvm-6e9ea3f55ab320f97cefcc65e99fed8231d83a1e.tar.bz2
Temporarily pin tests to DWARF v2 until a more recent version of LLDB
is available on green dragon. llvm-svn: 319790
Diffstat (limited to 'debuginfo-tests/nrvo-string.cpp')
-rw-r--r--debuginfo-tests/nrvo-string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/debuginfo-tests/nrvo-string.cpp b/debuginfo-tests/nrvo-string.cpp
index 18acebb..30fdfe2 100644
--- a/debuginfo-tests/nrvo-string.cpp
+++ b/debuginfo-tests/nrvo-string.cpp
@@ -1,9 +1,9 @@
// This ensures that DW_OP_deref is inserted when necessary, such as when NRVO
// of a string object occurs in C++.
//
-// RUN: %clangxx -O0 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -g
+// RUN: %clangxx -O0 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -gdwarf-2
// RUN: %test_debuginfo %s %t.out
-// RUN: %clangxx -O1 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -g
+// RUN: %clangxx -O1 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -gdwarf-2
// RUN: %test_debuginfo %s %t.out
//
// PR34513