1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
9 __attribute__((noinline
))
12 int sz
= backtrace(buf
, sizeof(buf
) / sizeof(*buf
));
14 for (int i
= 0; i
< sz
; ++i
)
16 #if defined(__s390x__)
17 // backtrace() may return a bogus trailing NULL on s390x.
23 char **s
= backtrace_symbols(buf
, sz
);
25 for (int i
= 0; i
< sz
; ++i
)
26 printf("%d\n", (int)strlen(s
[i
]));