diff options
| author | Ivan A. Kosarev <ivan@kosarev.info> | 2017-05-10 08:06:42 +0000 |
|---|---|---|
| committer | Ivan A. Kosarev <ivan@kosarev.info> | 2017-05-10 08:06:42 +0000 |
| commit | e73af512a6ed3b3799e91df88f0ffd4abf8e84e8 (patch) | |
| tree | 3a25aa536be97c9459ffd9495f8e043986673412 /llvm/lib/Support/CachePruning.cpp | |
| parent | fc861f511a5ee5b7a18fc08d97cfa8934ed02e2b (diff) | |
| download | bcm5719-llvm-e73af512a6ed3b3799e91df88f0ffd4abf8e84e8.tar.gz bcm5719-llvm-e73af512a6ed3b3799e91df88f0ffd4abf8e84e8.zip | |
[Safestack] Fix the canary test to catch the libc's message regarding stack smashing
By default glibc writes its diagnostics directly to tty so the `2>&1 |`
redirection in the test doesn't catch the *** stack smashing detected ***
message, which in turn breaks printing the lit's progress bar. By defining
the LIBC_FATAL_STDERR_ environment variable we force glibc to direct
diagnostic messages to stderr.
Differential Revision: https://reviews.llvm.org/D32599
llvm-svn: 302628
Diffstat (limited to 'llvm/lib/Support/CachePruning.cpp')
0 files changed, 0 insertions, 0 deletions

