This is an archive of the discontinued LLVM Phabricator instance.

[CStringSyntaxChecker] Fix build bot builds != x86 archs
ClosedPublic

Authored by devnexen on Jul 19 2018, 9:36 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

devnexen created this revision.Jul 19 2018, 9:36 PM
Herald added subscribers: Restricted Project, llvm-commits. · View Herald TranscriptJul 19 2018, 9:36 PM

The buildbots broke because of the miscalculation of the buffer array size.

devnexen updated this revision to Diff 156439.Jul 20 2018, 1:00 AM

Adding darwin 32 bits

Could you explain what was crashing?

NoQ accepted this revision.Jul 20 2018, 10:58 AM

Looks good, please commit!

When you think that a fix for buildbots requires review, please revert first! Reviews have a much longer turnaround than acceptable buildbot downtime.

The new code does indeed look more correct, but yeah, i agree with @george.karpenkov that explaining what's going on when posting code on review is a good idea.

This revision is now accepted and ready to land.Jul 20 2018, 10:58 AM

Still crashes for me in the same place (CStringSyntaxChecker.cpp:164) when analyzing tmux.

Still crashes for me in the same place (CStringSyntaxChecker.cpp:164) when analyzing tmux.

Why I did not commit yet. I m testing a newer slightly version. Still building.

devnexen updated this revision to Diff 156570.Jul 20 2018, 12:47 PM

@mikhail.ramalho could you try again with this change pls ?

This revision was automatically updated to reflect the committed changes.