HomePhabricator

[ASan] Support `{f}puts(NULL)` on Darwin

Authored by yln on Jul 17 2019, 9:09 AM.

Description

[ASan] Support {f}puts(NULL) on Darwin

On Darwin, the man page states that "both fputs() and puts() print
`(null)' if str is NULL."

rdar://48227136

Reviewed By: Lekensteyn

Differential Revision: https://reviews.llvm.org/D64773

llvm-svn: 366342

Details

Committed
ylnJul 17 2019, 9:09 AM
Reviewer
Lekensteyn
Differential Revision
D64773: [ASan] Support `{f}puts(NULL)` on Darwin
Parents
rGaa5cdafa405e: Remove REQUIRES OMP spec version within lit tests
Branches
Unknown
Tags
Unknown