HomePhabricator

Fix up fd limit diagnosis code

Authored by rnk on Aug 8 2019, 2:35 PM.

Description

Fix up fd limit diagnosis code

Apparently Windows returns the "invalid argument" error code when the
path contains invalid characters such as '<'. The
test/Preprocessor/include-likely-typo.c test does this, so it was
failing after r368322.

Also, the diagnostic requires two arguments, so add the filename.

llvm-svn: 368348

Details

Committed
rnkAug 8 2019, 2:35 PM
Parents
rG7491f36494e7: [lldb][NFC] Directly use StringRef instead of temporary std::string
Branches
Unknown
Tags
Unknown