aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorIvan A. Kosarev <ivan@kosarev.info>2017-05-10 08:06:42 +0000
committerIvan A. Kosarev <ivan@kosarev.info>2017-05-10 08:06:42 +0000
commite73af512a6ed3b3799e91df88f0ffd4abf8e84e8 (patch)
tree3a25aa536be97c9459ffd9495f8e043986673412 /llvm/lib/Transforms
parentfc861f511a5ee5b7a18fc08d97cfa8934ed02e2b (diff)
downloadllvm-e73af512a6ed3b3799e91df88f0ffd4abf8e84e8.zip
llvm-e73af512a6ed3b3799e91df88f0ffd4abf8e84e8.tar.gz
llvm-e73af512a6ed3b3799e91df88f0ffd4abf8e84e8.tar.bz2
[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/Transforms')
0 files changed, 0 insertions, 0 deletions