forked from OSchip/llvm-project
[ubsan][test] FLush stdout before checking interleaved stdout/stderr
Detected by musl.
This commit is contained in:
parent
c5d100fdf2
commit
a8970dff1a
|
@ -29,6 +29,7 @@ void __ubsan_on_report(void) {
|
|||
printf("Issue: %s\n", IssueKind);
|
||||
printf("Location: %s:%u:%u\n", Filename, Line, Col);
|
||||
printf("Message: %s\n", Message);
|
||||
fflush(stdout);
|
||||
|
||||
(void)Addr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue