summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/nrvo-string.cpp
diff options
context:
space:
mode:
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 18acebb0e6d..30fdfe2cd09 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
OpenPOWER on IntegriCloud