This is an archive of the discontinued LLVM Phabricator instance.

Fix format string for err_os_log_argument_to_big (currently unused)
ClosedPublic

Authored by sammccall on Oct 25 2016, 5:28 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

sammccall updated this revision to Diff 75685.Oct 25 2016, 5:28 AM
sammccall retitled this revision from to Fix format string for err_os_log_argument_to_big (currently unused).
sammccall updated this object.
sammccall added a reviewer: bkramer.
sammccall added subscribers: cfe-commits, mehdi_amini.

Good catch! How did you find this?
We need a test though.
(I can take over if you want, as I introduced the issue in the first place)

This revision was automatically updated to reflect the committed changes.

Good catch! How did you find this?

We've got a library that parses diagnostics that consumes DiagnosticSemaKinds.inc, and it failed to parse this message format.

We need a test though.
(I can take over if you want, as I introduced the issue in the first place)

Thanks! I'm pretty new to llvm and wasn't sure how to test this.
Looks like bkramer came up with one though.