1 // RUN: %clangxx -arch x86_64 %target_itanium_abi_host_triple -O1 -g %s -o %t.out -fsanitize=address
2 // RUN: %test_debuginfo %s %t.out
3 // REQUIRES: !asan, compiler-rt, system-darwin
4 // Zorg configures the ASAN stage2 bots to not build the asan
5 // compiler-rt. Only run this test on non-asanified configurations.
6 // gdb is used on non-darwin; some configs pretty print std::deque,
8 // UNSUPPORTED: apple-lldb-pre-1000
9 // XFAIL: !system-darwin && gdb-clang-incompatibility
17 using log_t
= std::deque
<A
>;
19 static void __attribute__((noinline
, optnone
)) escape(log_t
&log
) {
20 static volatile log_t
*sink
;
30 while (!log
.empty()) {
31 auto record
= log
.front();