This is an archive of the discontinued LLVM Phabricator instance.

[asan] Fix filename size on linux platforms.
ClosedPublic

Authored by yroux on Feb 5 2018, 1:37 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

yroux created this revision.Feb 5 2018, 1:37 AM
Herald added subscribers: Restricted Project, llvm-commits, kubamracek. · View Herald TranscriptFeb 5 2018, 1:37 AM
vitalybuka added inline comments.Feb 5 2018, 12:18 PM
lib/asan/asan_linux.cc
218 ↗(On Diff #132791)

please use PATH_MAX from <limits.h>

yroux updated this revision to Diff 132939.Feb 5 2018, 11:10 PM

Use PATH_MAX from <limits.h> instead of MAXPATHLEN.

hans accepted this revision.Feb 7 2018, 1:14 AM

Yvan, please go ahead and commit. I'd like this included in llvm-6.0.0-rc2, which I'd like to get out today.

This revision is now accepted and ready to land.Feb 7 2018, 1:14 AM
This revision was automatically updated to reflect the committed changes.
yroux added a comment.EditedFeb 7 2018, 10:30 AM

Sorry for the delay Hans (I was off today) Hope it is not too late to include it in rc2.